summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-20 23:55:40 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-05-21 16:44:00 -0300
commit19d4f28001d3a8e28b41187a7940d14d0a8d708c (patch)
tree4d37b3407d89641cac1a1621792dc97bbcead2fe /src/common/string_util.cpp
parent891236124caaed34cdefac61cf90896a5b66b267 (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