| ▲ | kgeist 3 days ago | |
>Instead of asking the runtime for memory object-by-object, an Arena lets you allocate a large pool of memory upfront. You fill that pool with objects using a simple bump pointer (which is CPU cache-friendly), and when you are done, you free the entire pool at once >They have been trying to prove they can achieve Arena-like benefits with, for example, improved GC algorithms, but all have failed to land The new Green Tea GC from Go 1.25 [0]:
Sounds like a similar direction: "let's work with many objects at once". They mention better cache-friendliness and all. | ||