Frediano Ziglio

Results 3 issues of Frediano Ziglio

Inserting directly a slice into a sync.Pool object caused the allocation for an extra object every Put call. Avoid it using unsafe.Pointer to the underlying array.

Just shrink it instead of discarding.

Somehow related to https://github.com/pauldreik/rdfind/issues/29. I'm using `rdfind` on some large, messy backup directory. There are plenty of small duplicated files. The statistics are ``` Now scanning ".", found 1898156 files....