Implement a buffer pool, and pass to Read().
This reduces the overhead of allocating, zeroing and GC-ing large amounts of memory. For large reads into /dev/null, this provides a 22% speed-up.
Showing
fuse/bufferpool.go
0 → 100644
fuse/bufferpool_test.go
0 → 100644
Please register or sign in to comment