A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/1st1/cpython/tree/hamt below:

GitHub - 1st1/cpython at hamt

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4