Closed
Description
The new Alloc
trait defined in RFC 1398 was added in #42313 but the libs teamdecided to hold off on Vec
integration just yet to be conservative.
This issue is intended to track the integration of the Alloc
trait into standard collections like Vec
, BTreeMap
, etc. I'm not personally aware of any current blockers, but what we'll probably want to do as part of this issue includes:
- Develop a set of conventions for collections which support custom allocators
- Ensure no regressions with integration of a custom allocator:
- error messages should look as they do today
- no performance regressions at runtime
- ideally minimal compile-time impact