lördag 16 november 2013

Pyrsistent released

Just a short note. I've recently released my first package ever to PyPi. I call it Pyrsistent and it contains a vector, a map and a set that are all persistent. Persistent in this case means that the data structures are immutable. Changing the content of the data structure means creating a new object which contains the requested changes, the original object remains untouched

To not waste excessive memory structural sharing is used between the new and previous data structure. 

You can find it here https://pypi.python.org/pypi/pyrsistent/. The docs are available here http://pyrsistent.readthedocs.org/en/latest/