FreeBSD.software
Home/devel/py311-immutables

py311-immutables

0.21

Immutable collections

An 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.

Origin: devel/py-immutables
Category: devel
Size: 203KiB
License: MIT, APACHE20
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 0 packages
$pkg install py311-immutables

Dependencies (1)

More in devel