parca icon indicating copy to clipboard operation
parca copied to clipboard

Improve merge allocations

Open brancz opened this issue 4 years ago • 0 comments
trafficstars

When merging, we copy the instant trees at every intermediate step. This is allocation intensive, however, the structs should be re-usable via a pool to prevent allocating new objects every time.

Screenshot from 2021-10-18 10-58-40

brancz avatar Oct 18 '21 09:10 brancz