PyClojure
PyClojure copied to clipboard
Create and use immutable, persistent data structures (currently Python lists and maps are used)
Take a look at my repo funktown. It's a pure-python implementation of Clojure-style immutable vectors and maps.
Only problem is that it seems to be slower than just copying python dicts or lists wholesale. I might need to rewrite the recursive parts in C to make it faster.
cool, i'll take a look!
I would expect some performance hit for implementing immutability in a language not designed to support it out-of-the-box. Looks promising at first glance...