3 ms·
Can't you just allocate a huge block up-front and throw stuff into it with a custom allocator? I don't know if Rust allows you to do that kind of thing.
by bananaface 6y ago
Can't you just allocate a huge block up-front and throw stuff into it with a custom allocator? I don't know if Rust allows you to do that kind of thing.
- steveklabnik 6y agoYes. There are some trade offs, you can’t parameterize the standard library data structures over an allocator yet, for example.