# perennial > perennial is a set of persistent collections for Rust (HashMap, HashSet, OrdMap, OrdSet and an RRB Vector) and a drop-in replacement for im and im-rc 15.1: rename the dependency, no source change. MIT OR Apache-2.0, no unsafe, no_std plus alloc. cargo's own test suite passes with perennial-rc in place of im-rc. ## Project - [perennial: a drop-in replacement for im and im-rc 15.1](https://perennial.avarok.net/index.md): Persistent collections for Rust: HashMap, HashSet, OrdMap, OrdSet and an RRB Vector with O(1) clone and structural sharing. API-compatible with im 15.1 (Arc… ## Docs - [Compatibility: crate-level items · perennial](https://perennial.avarok.net/docs/compat/crate/index.md): Spec: docs/spec/00-overview.md §2–§4, docs/spec/macros-and-iter.md. Legend and 01: labels:../COMPAT.md. Rows here cover macros, modules, iter::unfold,… - [Compatibility: features and pool types · perennial](https://perennial.avarok.net/docs/compat/features/index.md): Spec: docs/spec/00-overview.md §2–§4. Legend and 01: labels:../COMPAT.md. Rows here cover the proptest strategies, the Cargo features and the pool types;… - [Compatibility: HashMap · perennial](https://perennial.avarok.net/docs/compat/hashmap/index.md): Spec: docs/spec/hashmap-1.md, docs/spec/hashmap-2.md, docs/spec/set-algebra.md, docs/spec/hashing.md, docs/spec/ordering-and-equality.md. Legend and 01:… - [Compatibility: HashSet · perennial](https://perennial.avarok.net/docs/compat/hashset/index.md): Spec: docs/spec/hashset.md, docs/spec/set-algebra.md, docs/spec/hashing.md. Legend and 01: labels:../COMPAT.md. GenericHashSet rows are in crate.md,… - [perennial compatibility table · perennial](https://perennial.avarok.net/docs/compat/index.md): Every public item that the clean-room spec (docs/spec/) lists for im 15.1.0, im-rc 15.1.0 and imbl 7.0.2 has exactly one row in one of the files below, saying… - [Compatibility: OrdMap · perennial](https://perennial.avarok.net/docs/compat/ordmap/index.md): Spec: docs/spec/ordmap-1.md, docs/spec/ordmap-2.md, docs/spec/set-algebra.md, docs/spec/ordering-and-equality.md, docs/spec/00-overview.md §3. Legend and 01:… - [Compatibility: OrdSet · perennial](https://perennial.avarok.net/docs/compat/ordset/index.md): Spec: docs/spec/ordset.md, docs/spec/set-algebra.md, docs/spec/ordering-and-equality.md. Legend and 01: labels:../COMPAT.md. GenericOrdSet rows are in… - [Compatibility: Vector · perennial](https://perennial.avarok.net/docs/compat/vector/index.md): Spec: docs/spec/vector-1.md, docs/spec/vector-2.md, docs/spec/ordering-and-equality.md. Decisions: docs/design/01-interface.md. Legend, status vocabulary and… - [1. The interface perennial matches · perennial](https://perennial.avarok.net/docs/design/01-interface/index.md): Reference: im-rc 15.1.0 and im 15.1.0 (identical API apart from the pointer kind), with the additions of imbl 7.0.2 where they do not conflict. The behaviour… - [2. Architecture · perennial](https://perennial.avarok.net/docs/design/02-architecture/index.md): Written from the public algorithm literature (Bayer & McCreight 1972 on B-trees; Bagwell 2001 on hash array mapped tries; Steindorfer & Vinju 2015 on CHAMP;… - [3. Where the speed comes from · perennial](https://perennial.avarok.net/docs/design/03-speed/index.md): The targets' own public claim: im's OrdMap is "2–3× slower" than std::collections::BTreeMap (docs/spec/performance-claims.md). The ceiling for every workload… - [4. Safety and the known bug classes · perennial](https://perennial.avarok.net/docs/design/04-safety/index.md): Each advisory against the target family becomes a negative test in tests/advisories/. The trigger patterns are described in docs/spec/advisories.md (written… - [5. Proof plan · perennial](https://perennial.avarok.net/docs/design/05-proof/index.md): The target crates keep their tests inside their MPL-licensed source modules; they cannot be run against another crate without editing them, and implementers… - [6. Benchmark method · perennial](https://perennial.avarok.net/docs/design/06-bench/index.md): Rules: same machine, pinned versions, warm-up, median of 5 cold processes per cell, raw JSON Lines committed, charts generated from them. - [perennial: design · perennial](https://perennial.avarok.net/docs/design/index.md): perennial is a set of persistent (immutable, structurally shared) collections for Rust — HashMap, HashSet, OrdMap, OrdSet and Vector — whose public interface… - [Documentation · perennial](https://perennial.avarok.net/docs/index.md): The perennial documentation: item-by-item compatibility with im-rc 15.1.0, design notes, the safety and proof plan, and the benchmark method.