3 ms·
You can use a custom allocator on nightly.
by steveklabnik 11y ago
You can use a custom allocator on nightly.
- masklinn 11y agoDoes the custom allocator support allow for runtime customisation e.g. the library user calling it to set allocator functions then starting to use it? And I expect the custom allocator is global?
- steveklabnik 11y agoCurrently, it replaces the global allocator. Using multiple allocators is an interface that's still being actively worked on, it's in the RFC stage, so no code has landed yet.
- Manishearth 11y agoIt's a build option, and yes, it's global, but of course you can build an allocator that respects some global parameters.