gotosocial/vendor/git.iim.gay/grufwub/go-bufpool
kim (grufwub) e43a46e982 add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-11 20:12:47 +01:00
..
log2_table.go add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage 2021-09-11 20:12:47 +01:00
pool.go add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage 2021-09-11 20:12:47 +01:00
README.md add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage 2021-09-11 20:12:47 +01:00

Variable size bufferpool that supports storing buffers up to 512kb in size

See documentation for more information: https://godocs.io/git.iim.gay/grufwub/go-bufpool

Please note, the test here is a worst-case scenario for allocations (the size requests always increase so a new slice is always required)