forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 87
Internals
Paul Sokolovsky edited this page Jan 1, 2014
·
2 revisions
Note: MicroPython is work in progress and information here represents state of affairs at the beginning of 2014-01. As core functionality matures, it is expected that improvements and optimizations will follow. This page is in particular intended to identify areas to optimize.
MicroPython uses string interning. Currently all strings are interned, it's under consideration to support non-interned strings (like CPython does). File: qstr.c
MicroPython uses Open addressing with Linear probing of step = 1 for implementation of dictionaries. Rehashing happens when last free slot is used (on reaching loadfactor = 1.0).