Lenobjdict
Lenobjdict is a term used to describe a dictionary‑like data structure that uses the length of its keys as a secondary index to enable fast length-based queries. It is not a standard library type, but a conceptual or user‑defined extension of a regular map that adds an auxiliary index alongside the primary key–value store.
In a typical lenobjdict design, there is a primary mapping from keys to values, similar to a
Semantics and implementation considerations vary. Keys are still hashed according to the language’s rules, but the
Common use cases involve datasets where key length correlates with processing cost or categorization needs, such
See also: dictionary, weak-key dictionary, indexing structures.