Hacker GitHub

← All repos

MagicStack/immutables

View on GitHub ↗ ★ 1,206 C

A high-performance immutable mapping type for Python.

4 mentions on Hacker News by 4 people: 2 stories, 2 comments · first 2018-04-02 · latest 2026-08-29

Mentions per year 4 mentions · busiest year 2018 (2)
20082026
  1. …tps://github.com/python/cpython/blob/main/Python/hamt.c Set/Delete/Lookup are all O(log(n)) See also: https://github.com/MagicStack/immutables (for something you can actually use) p.s. I think the reason heapq isn't a type is that it's…
  2. …[5] https://github.com/arximboldi/immer [6] https://github.com/orium/rpds [7] https://github.com/MagicStack/immutables [8] https://github.com/tobgu/pyrsistent