Heapcraft v0.2.0 – Configurable Pools & ID Generators (2025-06-28)
Heapcraft v0.2.0 introduces optional object pooling and ID-generation support for all full-featured heaps, along with a cleaner API and consistent naming.
Highlights
-
Pooling support
Added optional pooling support for all heap types to reduce allocations. -
Configurable heaps
IntroducedHeapConfigfor full heaps to configure pooling and custom ID generators. -
Simplified pop signature
Popmethods now return(value, priority, error). -
Renamed types
SimplePairingHeap→PairingHeapPairingHeap→FullPairingHeapSimpleSkewHeap→SkewHeapSkewHeap→FullSkewHeapSimpleLeftistHeap→LeftistHeapLeftistHeap→FullLeftistHeap
For full API details and examples, see the README.md.