summaryrefslogtreecommitdiff
path: root/FAQ.md
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2022-09-02 11:27:49 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-09-02 11:28:21 -0700
commit2052c2e37c7554c52db3c117b3ad468924e10cd2 (patch)
tree58c1cac07a62b45e95081712164e40f8b23711cc /FAQ.md
parent152e9a182675cea81ba38ae6784c9980132b0bdc (diff)
InlinedVector: Small improvement to the max_size() calculation
In some cases we can do a bit better by using std::min(std::numeric_limits<size_type>::max() / 2, allocator<T>::max_size()) They may help in some cases, particularly on 32-bit platforms. PiperOrigin-RevId: 471846886 Change-Id: I5bd63de5dd8aec3de6530a33d8904dd6e9bd015e
Diffstat (limited to 'FAQ.md')
0 files changed, 0 insertions, 0 deletions