Skip to content

Pool segment backend #1

Description

@holocronweaver

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. =)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions