Skip to content

v0.2.0

Latest

Choose a tag to compare

@galactixx galactixx released this 29 Jun 01:14

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
    Introduced HeapConfig for full heaps to configure pooling and custom ID generators.

  • Simplified pop signature
    Pop methods now return (value, priority, error).

  • Renamed types

    • SimplePairingHeapPairingHeap
    • PairingHeapFullPairingHeap
    • SimpleSkewHeapSkewHeap
    • SkewHeapFullSkewHeap
    • SimpleLeftistHeapLeftistHeap
    • LeftistHeapFullLeftistHeap

For full API details and examples, see the README.md.