3 ms·
There are several mmap crates, but they won't let you transparently use std::collections on top of them. I imagine this will be possible once the custom alloca
by steveklabnik 10y ago
There are several mmap crates, but they won't let you transparently use std::collections on top of them.
I imagine this will be possible once the custom allocators work sorts out.
- dbaupp 10y agoJust having custom allocators won't automatically fix the pointer issue: remapping the file later will leave the previously "allocated" pointers pointing into old memory, which may not be where the file was remapped. The allocators and data structures would need to support using non-raw-pointer pointers types, including not even platform-pointer sized types.
- steveklabnik 10y agoRight. Makes sense.