3 ms·
Yes, exactly. Rust already allows for switching global allocators through `#[global_allocator]`. But now also allows plugging allocators inline through the allo
by yoshuaw 6y ago
Yes, exactly. Rust already allows for switching global allocators through `#[global_allocator]`. But now also allows plugging allocators inline through the allocator-api methods.
I'd imagine something similar could be introduced for threadpools / runtimes.