aboutsummaryrefslogtreecommitdiff
path: root/internal/bufpool
Commit message (Expand)AuthorAgeFilesLines
* bufpool: Return bytes.Buffer, rather than a pointer to it•••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. Gravatar Runxi Yu2025-11-231-8/+9
* 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