← Back to DAGDA | Support | Source: https://github.com/1st1/cpython/tree/hamt
Skip to content
1st1Public
forked from python/cpython

About

The Python programming language

Resources

Contributing

Stars

5 stars

Watchers

2 watching

Forks

 
 

Repository files navigation

This is Python version 3.7.0 alpha 3+

This is a fork of CPython that implement an immutable mapping using Hash array mapped trie (HAMT) for PEP 550.

Two files of interest: Objects/hamtobject.c and Objects/hamtobject.h.

To test the new datastructure use the hamt() builtin:

h = hamt()
h.set('a', 'b')
print(h.get('a'))

Only set() and get() methods are implemented. Read more about this in the PEP.

About

The Python programming language

Resources

Contributing

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages