hashbrown allows the use of allocator-api2, or the nightly allocator_api feature, to specify an explicit allocator to use for a hash table. We should probably do something similar, with a similar interface.
This will be sufficiently complicated that we should only consider it as part of a breaking release.
hashbrown allows the use of
allocator-api2, or the nightlyallocator_apifeature, to specify an explicit allocator to use for a hash table. We should probably do something similar, with a similar interface.This will be sufficiently complicated that we should only consider it as part of a breaking release.