Documentation

CslibFrontier.DataStructure.PriorityQueue.FibonacciHeap.Native.Read

Native read-only methods of the indexed Fibonacci heap #

The existing linked record programs are realized by uniform exact-basis emitters. Capacity, base and handle are runtime words; address arithmetic, branches and the complete Boolean or optional-word result are charged. Optional payloads stay unshifted, including a maximum key. The existing memory-history premise retains allocation/admissibility, independently of the explicit arithmetic envelope.

Main results #

These are method certificates, not a complete priority-queue backend or a consumer migration.

The emptiness method reads the original minimum pointer. Its full two-word Boolean result is charged, and zero capacity does not require the literal nine to fit.

The optional key method uses the original in-heap flag and key array. The raw runtime handle lies below capacity, and some key keeps the key itself rather than its successor.