aboutsummaryrefslogtreecommitdiff
path: root/internal/bufpool/buffers.go
Commit message (Expand)AuthorAgeFilesLines
* bufpool: Document how .Bytes is intended to be usedGravatar Runxi Yu2026-02-221-0/+6
* *: Fix nosecGravatar Runxi Yu2026-02-211-2/+2
* bufpool: Fix lintsGravatar Runxi Yu2026-02-211-2/+4
* bufpool: ImportGravatar Runxi Yu2026-02-211-0/+189
* Delete everything, I'm redesigning this.•••I'll stop using a flat package and make things much more modular. And also experiment with streaming APIs so large blobs don't OOM us. Gravatar Runxi Yu2026-02-201-189/+0
* 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-221-29/+83
* Extract bufpool into its own packageGravatar Runxi Yu2025-11-161-0/+140