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§
- PyObject
Free List - A free allocation list for PyObject ffi pointers.
Enums§
- PyObject
Slot 🔒 - Represents a slot of a
PyObjectFreeList
.