2 ms·
Yeah. I was looking for something a little more meaty, but there are solid ways to attack this. I like to use copy-on-write reference immutable tree storage wi
by chaboud 2y ago
Yeah. I was looking for something a little more meaty, but there are solid ways to attack this.
I like to use copy-on-write reference immutable tree storage with self-recycling/self-freeing reference counting shared memory objects. Entities can retain prior versions for as long as necessary and then pop over to new versions when they’re ready, wait free. For ultimate cache and TLB performance, some other approaches (including deliberate copies) can be useful, but I’ve found the approach to be very friendly to multi-thread and multi-process scale for a long time.
- OlivierLi 2y agoThis is interesting stuff. I’m one of the author of the change and working on the next iteration. If you have an example of what you describe I’d love to have a look!