diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-20 23:55:40 -0300 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-21 16:44:00 -0300 |
commit | 19d4f28001d3a8e28b41187a7940d14d0a8d708c (patch) | |
tree | 4d37b3407d89641cac1a1621792dc97bbcead2fe /src/common/string_util.cpp | |
parent | 891236124caaed34cdefac61cf90896a5b66b267 (diff) |
buffer_cache: Use boost::container::small_vector for maps in range
Most overlaps in the buffer cache only contain one mapped address.
We can avoid close to all heap allocations once the buffer cache is
warmed up by using a small_vector with a stack size of one.
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions