Allocators and things that look like allocators are pretty common in large projects. But allocators that can serve a standard container are significantly less common.
For example, you sometimes want a bump allocator (like the bumpalo crate). You almost never want to use it for a HashMap.
Allocators and things that look like allocators are pretty common in large projects. But allocators that can serve a standard container are significantly less common.
For example, you sometimes want a bump allocator (like the bumpalo crate). You almost never want to use it for a HashMap.