Could somebody briefly outline how the thread-locality (non-GC-locked) of allocators relates to the purity of the containers using them?

This because I want to move forward with optimizations in my knowledge graph that requires GC-free array containers storing value typed elements (integers) which preferrably has pure API.

Specifically, I want to use something like

https://github.com/economicmodeling/containers/blob/master/src/containers/dynamicarray.d

that is `@safe pure` and uses lock-free allocations in a heavily multi-threaded application.

If I want purity aswell which `std.experimental.allocators` are possible?

Reply via email to