Module starlark_map::small_map

source ·
Expand description

A Map with deterministic iteration order that specializes its storage based on the number of entries to optimize memory. This is essentially IndexMap with two changes:

  • no index is created for small maps
  • short hashes are stored next to keys

Structs§

Enums§

  • Occupied or vacant entry.