Expand description
Support for free allocation lists.
This can improve performance for types that are often created and deleted in quick succession.
Rather than implementing this manually,
implement it by annotating a struct with #[pyclass(freelist = N)]
,
where N
is the size of the freelist.
Structs§
- A free allocation list.
Enums§
- Represents a slot of a
FreeList
.