Gives every distinct value a dense id and returns the value of an id, like an Interner,
but two values are the same when their tuples of 32-bit integers are equal. A hot loop
then builds an array of numbers for each value and no string.
intern and find take expected time linear in the arity, and value takes constant
time. An interner with a budget charges one Resource.Cells for each new value.
Gives every distinct value a dense id and returns the value of an id, like an
Interner, but two values are the same when their tuples of 32-bit integers are equal. A hot loop then builds an array of numbers for each value and no string.internandfindtake expected time linear in the arity, andvaluetakes constant time. An interner with a budget charges oneResource.Cellsfor each new value.