Feedback
Expose collection capacity reservation APIs
- Status
- Fixed
- Fixed in
- v26.5.7
- Source discussion
- https://forum.objo.dev/d/181-preallocation-of-large-collections
- Last updated
- 2026-05-29
Public summary
Objo arrays and dictionaries currently grow their backing storage as items are appended or inserted. Add public APIs for reserving collection capacity when code already knows the expected size, so large collections can avoid avoidable backing-store reallocations without changing their logical Count.