Compact representation of
Option<T> for types with a reserved value.
Small Cranelift types like the 32-bit entity references are often used in tables and linked
lists where an
Option<T> is needed. Unfortunately, that would double the size of the tables
Option<T> is twice as big as
This module provides a
PackedOption<T> for types that have a reserved value that can be used
Packed representation of
Types that have a reserved value which can't be created any other way.