Skip to content

Add a proper way to recycle vector slots in the C API #41

Description

@adamhutchings

Right now, when a vector is disposed of through the C API, its slots in the vectors array just keeps wasting memory.
We want it to be the case that when a new vector is made, it takes up the first free spot in the array if there is any and only extends the array if it needs to.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions