summaryrefslogtreecommitdiff
path: root/src/common/algorithm.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-01-27 15:31:43 -0500
committerameerj <52414509+ameerj@users.noreply.github.com>2022-01-27 15:31:43 -0500
commitf300a1d54be6b61f3f8667f1578bf42361f210dc (patch)
tree7e4af4bcb376b01e344e2347b4da3de42991e205 /src/common/algorithm.h
parent8a244dd3d34e3c9ded99fa3f0cdb7ca8e175cf96 (diff)
buffer_cache: Reduce stream buffer allocations when expanding from the left
The existing stream buffer optimization accounts for size increases at the end of the allocated buffer. This adds the same optimization, increasing the size from the beginning of the buffer as well to reduce buffer allocations when expanding the same buffer from the left.
Diffstat (limited to 'src/common/algorithm.h')
0 files changed, 0 insertions, 0 deletions