Module cranelift_codegen_meta::unique_table
source · Expand description
An index-accessed table implementation that avoids duplicate entries.
Structs
- A table of sequences which tries to avoid common subsequences.
- Collect items into the
table
list, removing duplicates.
Functions
- Try to find the subsequence
sub
in thewhole
sequence. Returns None if it’s not been found, or Some(index) if it has been. Naive implementation until proven we need something better.