boostorg / boostorg/poly_collection
Pool segment backend
Open
- Dominant language
- C++
- Stars
- 73
- Forks
- 30
- Avg merge
- 16h 44m
- Merged PRs (30d)
- 1
Description
My understanding is currently segments are stored in std::vectors.
If I wanted to create a base_collection using a pool instead of a vector, would I just have to create a new segment_backend using a pool class for storage?
It seems using a pool backend would avoid the problem of vector memory reallocation causing object pointers and iterators to become invalid.
Motivation: I want to make object creation and deletion cheaper while retaining a polymorphic collection. Truly pie in the sky. =)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.