aboutsummaryrefslogtreecommitdiff
path: root/internal/bufpool
Commit message (Collapse)AuthorAgeFilesLines
* bufpool: Return bytes.Buffer, rather than a pointer to itGravatar Runxi Yu2025-11-231-8/+9
| | | | | | It's silly to allocate a bytes.Buffer struct, however small it is, every time Borrow is called, since the entire purpose is to reduce allocations.
* bufpool: Return *BufferGravatar Runxi Yu2025-11-221-14/+8
|
* bufpool: Improve perf by using buckets of different size classesGravatar Runxi Yu2025-11-222-29/+120
|
* Extract bufpool into its own packageGravatar Runxi Yu2025-11-162-0/+180