pycollection is a powerful utility data structure.
pycollection
is a powerful utility data structure. It is inspired by NodeJS Module @discordjs/collection, JavaScript's Map and a little bit of Java's HashMap.
Under the hood, pycollection
utilizes Python's built-in dict data structure, since by default Python doesn't have Map
like JavaScript. This makes pycollection
extremely fast and efficient. It has features that both HashMap
and Map
, and many more.
It allows for an association between unique keys and their values. pycollection
is considered mutable data structure, which means that it can be changed after it is created.
pip install pycollection