[][src]Module cranelift_codegen_meta::unique_table

An index-accessed table implementation that avoids duplicate entries.

Structs

UniqueSeqTable

A table of sequences which tries to avoid common subsequences.

UniqueTable

Collect items into the table list, removing duplicates.

Functions

find_subsequence

Try to find the subsequence sub in the whole sequence. Returns None if it's not been found, or Some(index) if it has been. Naive implementation until proven we need something better.