Commit graph

4 commits

Author SHA1 Message Date
adam
c2df8b3081 py-immutables: updated to 0.14
v0.14:
Allow None to be used as key in pure-Python implementation.
2020-05-18 10:50:04 +00:00
adam
5a25827b49 py-immutables: updated to 0.13
v0.13:
Bugfixes
Various improvements w.r.t. type annotations & typing
Fix pure-Python implementation to accept keyword argument
2020-05-14 06:04:46 +00:00
adam
9fded18df3 py-immutables: updated to 0.12
v0.12:
Bug Fixes
Fix the mutation API to maintain elements count correctly
2020-05-13 14:50:33 +00:00
adam
2e7c631bd7 py-immutables: added version 0.11
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.
2020-01-08 20:01:40 +00:00