Commit f300a1d5 authored by ameerj's avatar ameerj
Browse files

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.
parent 8a244dd3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment