---
title: "Documentation · perennial"
description: "The perennial documentation: item-by-item compatibility with im-rc 15.1.0, design notes, the safety and proof plan, and the benchmark method."
canonical: "https://perennial.avarok.net/docs/"
lastmod: "2026-12-01T23:57:36Z"
tokens: 1398
---

1. [Docs](https://perennial.avarok.net/docs/)

# perennial documentation

perennial@0.1.0·Updated 2026-12-01·[View as markdown](https://perennial.avarok.net/docs/index.md)

Every page here is generated from the markdown in the repository's docs/ directory, so it says what the source says.

- [perennial compatibility table](https://perennial.avarok.net/docs/compat/): 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 what perennial does with it and which…
- [perennial: design](https://perennial.avarok.net/docs/design/): perennial is a set of persistent (immutable, structurally shared) collections for Rust — HashMap, HashSet, OrdMap, OrdSet and Vector — whose public interface is a drop-in replacement for im-rc…
- [1\. The interface perennial matches](https://perennial.avarok.net/docs/design/01-interface/): 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 of every item is specified in docs/spec/…
- [2\. Architecture](https://perennial.avarok.net/docs/design/02-architecture/): Written from the public algorithm literature (Bayer \& McCreight 1972 on B-trees; Bagwell 2001 on hash array mapped tries; Steindorfer \& Vinju 2015 on CHAMP; Bagwell \& Rompf 2011 and Stucki et al.…
- [3\. Where the speed comes from](https://perennial.avarok.net/docs/design/03-speed/): 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 is std (no sharing at all); the field is…
- [4\. Safety and the known bug classes](https://perennial.avarok.net/docs/design/04-safety/): Each advisory against the target family becomes a negative test in tests/advisories/. The trigger patterns are described in docs/spec/advisories.md (written by the spec agent from the advisory…
- [5\. Proof plan](https://perennial.avarok.net/docs/design/05-proof/): The target crates keep their tests inside their MPL-licensed source modules; they cannot be run against another crate without editing them, and implementers may not read them. The drop-in claim…
- [6\. Benchmark method](https://perennial.avarok.net/docs/design/06-bench/): Rules: same machine, pinned versions, warm-up, median of 5 cold processes per cell, raw JSON Lines committed, charts generated from them.
- [Compatibility: crate-level items](https://perennial.avarok.net/docs/compat/crate/): 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, shared\_ptr and the Generic\* structs; proptest…
- [Compatibility: features and pool types](https://perennial.avarok.net/docs/compat/features/): 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; macros, modules, shared\_ptr and the Generic\*…
- [Compatibility: HashMap](https://perennial.avarok.net/docs/compat/hashmap/): 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: labels:../COMPAT.md. GenericHashMap rows are…
- [Compatibility: HashSet](https://perennial.avarok.net/docs/compat/hashset/): 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, HashSetPool rows in features.md. OrdSet:…
- [Compatibility: OrdMap](https://perennial.avarok.net/docs/compat/ordmap/): 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: labels:../COMPAT.md. GenericOrdMap rows…
- [Compatibility: OrdSet](https://perennial.avarok.net/docs/compat/ordset/): 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 crate.md, OrdSetPool rows in features.md.…
- [Compatibility: Vector](https://perennial.avarok.net/docs/compat/vector/): 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 the 01: labels are defined…

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@id": "https://thomaspbraun.com/#person",
      "@type": "Person",
      "name": "Thomas Braun",
      "sameAs": [
        "https://github.com/tbraun96",
        "https://x.com/tbraun96"
      ],
      "url": "https://thomaspbraun.com",
      "worksFor": {
        "@type": "Organization",
        "name": "Avarok",
        "url": "https://avarok.net"
      }
    },
    {
      "@id": "https://perennial.avarok.net/docs/",
      "@type": "WebPage",
      "author": {
        "@id": "https://thomaspbraun.com/#person"
      },
      "dateModified": "2026-12-01T23:57:36Z",
      "description": "The perennial documentation: item-by-item compatibility with im-rc 15.1.0, design notes, the safety and proof plan, and the benchmark method.",
      "inLanguage": "en",
      "isPartOf": {
        "@id": "https://perennial.avarok.net/#website",
        "@type": "WebSite",
        "name": "perennial",
        "url": "https://perennial.avarok.net/"
      },
      "name": "Documentation · perennial",
      "url": "https://perennial.avarok.net/docs/"
    }
  ]
}
```
