Path to this page:
./
misc/py-immutables,
Immutable collections
Branch: pkgsrc-2022Q4,
Version: 0.19,
Package name: py310-immutables-0.19,
Maintainer: pkgsrc-usersAn immutable mapping type for Python.
The underlying datastructure is a Hash Array Mapped Trie (HAMT) used in
Clojure, Scala, Haskell, and other functional languages. This implementation is
used in CPython 3.7 in the contextvars module (see PEP 550 and PEP 567 for more
details).
Immutable mappings based on HAMT have O(log N) performance for both set() and
get() operations, which is essentially O(1) for relatively small mappings.
Master sites:
Filesize: 83.486 KB
Version history: (Expand)
- (2022-12-27) Package added to pkgsrc.se, version py310-immutables-0.19 (created)