Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAMT dicts #52

Open
radix opened this issue Jun 11, 2014 · 1 comment
Open

HAMT dicts #52

radix opened this issue Jun 11, 2014 · 1 comment

Comments

@radix
Copy link

radix commented Jun 11, 2014

HAMT dicts have been implemented in Python, at least twice as far as I know:

https://github.com/jml/perfidy/tree/master/perfidy

https://github.com/alex/optimizer-model/blob/master/optimizer/utils/persistent_dict.py

so you may not have to implement it yourself to include them in fn.py (or at least not start from scratch).

The implementations are under the MIT and BSD licenses, respectively. The authors may be willing to relicense to ASL.

@radix
Copy link
Author

radix commented Jul 2, 2014

so it looks like there's a currently well-maintained set of persistent data structures in Python, including list (vector), map and set: https://pypi.python.org/pypi/pyrsistent/

maybe there's no reason for fn.py to have its own versions of these data structures since that project exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant