kopia lustrzana https://github.com/micropython/micropython
7ea503929a
This disables using qstr hashes altogether, which saves RAM and flash (two bytes per interned string on a typical build) as well as code size. On PYBV11 this is worth over 3k flash. qstr comparison will now be done just by length then data. This affects qstr_find_strn although this has a negligible performance impact as, for a given comparison, the length and first character will ~usually be different anyway. String hashing (e.g. builtin `hash()` and map.c) now need to compute the hash dynamically, and for the map case this does come at a performance cost. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> |
||
---|---|---|
.. | ||
autobuild | ||
mpremote | ||
.gitattributes | ||
.gitignore | ||
boardgen.py | ||
cc1 | ||
ci.sh | ||
codeformat.py | ||
codestats.sh | ||
dfu.py | ||
file2h.py | ||
gen-changelog.sh | ||
gen-cpydiff.py | ||
hci_trace_to_pcap.py | ||
insert-usb-ids.py | ||
makemanifest.py | ||
manifestfile.py | ||
metrics.py | ||
mpy-tool.py | ||
mpy_bin2res.py | ||
mpy_cross_all.py | ||
mpy_ld.py | ||
pyboard.py | ||
pydfu.py | ||
tinytest-codegen.py | ||
uf2conv.py | ||
uf2families.json | ||
uncrustify.cfg | ||
verifygitlog.py |