Address as an unsigned integer aligned to a byte alignment alignment_.
Used as key, value or element instead of a pointer in HybridHashMap to prevent triggering of gc_addRange and gc_removeRange.
TODO: is holeValue suitably chosen?
< Alignment in bytes.
Get hash of this, with extra fast computation for the small case.
Hole/Deletion value. Prevent hole bitmap from being used.
Null value.
< Actual pointer address as unsigned integer.
// cannot be @nogc when `opIndex` may throw alias A = AlignedAddress!1; import nxt.nullable_traits : hasNullValue, isNullable; static assert(hasNullValue!A); static assert(isNullable!A);
https://en.wikipedia.org/wiki/Data_structure_alignment
See Implementation
Address as an unsigned integer aligned to a byte alignment alignment_.
Used as key, value or element instead of a pointer in HybridHashMap to prevent triggering of gc_addRange and gc_removeRange.
TODO: is holeValue suitably chosen?