logoalt Hacker News

kunleylast Wednesday at 8:53 AM1 replyview on HN

Would be cool to have recent findings on persistent data structures via the lenses of cache locality


Replies

bjolilast Wednesday at 9:00 AM

I know people using ref counting to support using allocation arenas for immutable structures. For some workloads that gives a pretty crazy performance boost.

Just pre-allocating leaf nodes can reduce iteration overhead by 40%.