1 pyutils.collectionz package
2 ===========================
4 This subpackage contains some homegrown collections that try to emulate
5 :mod:`collections` included in the Python standard library. It ends
6 with a 'z' so as not to collide with the standard library package.
11 pyutils.collectionz.bidict module
12 ---------------------------------
14 .. automodule:: pyutils.collectionz.bidict
20 pyutils.collectionz.bst module
21 ------------------------------
23 .. automodule:: pyutils.collectionz.bst
28 pyutils.collectionz.shared\_dict module
29 ---------------------------------------
31 The shared\_dict.SharedDict class is a normal python dictionary that
32 can be accessed safely in parallel from multiple threads or processes
33 without (external) locking by using Multiprocessing.SharedMemory. It
34 uses internal locking and rewrites the shared memory region as it is
35 changed so it is slower than a normal dict. It also does not grow
36 dynamically; the creator of the shared\_dict must declare a maximum
39 .. automodule:: pyutils.collectionz.shared_dict
44 pyutils.collectionz.trie module
45 -------------------------------
47 .. automodule:: pyutils.collectionz.trie
55 .. automodule:: pyutils.collectionz