MutableHashMap[K, V]: a mutable map whose keys compare as Effect's
Equal.equals does (Effect's MutableHashMap).
Like a dict updated in place, but keyed by pyfect._equal.equal_key:
True stays apart from 1, NaN finds NaN, and lists, tuples, dicts and
sets are keys by their items. Setting an equal key keeps the key first
stored, as dict does. Iteration yields (key, value) pairs in
insertion order. Being mutable, it is unhashable.
Each operation is atomic, also when several threads share the map, as each
is in JavaScript: set, modify and modify_at read and write
holding the map's lock, calling f once under it.
Classes#
On This Page
Classes