Files

5 lines
262 B
Markdown
Raw Permalink Normal View History

2026-08-24 08:11:59 -07:00
# Stable unique contract
`stable_unique(values, key)` returns the first value for each distinct key, preserves encounter order, accepts unhashable values when the supplied key result is hashable, never mutates input, and must scale linearly for 20,000 values.