Module starlark::collections

source ·
Expand description

Defines SmallMap and SmallSet - collections with deterministic iteration and small memory footprint.

These structures use vector backed storage if there are only a few elements, and and index for larger collections. The API mirrors standard Rust collections.

Structs

Traits

  • Values are equivalent for hashmap: hashes are equal and values are logically equal.