summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/float_parse.py
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2025-01-04 12:54:44 +0100
committerAlessandro Gatti <a.gatti@frob.it>2025-02-27 18:42:28 +0100
commit8633abc08291d98035c65904dc4dab9983ddada3 (patch)
treecb049a42c7e93a031ec6150194e51723b6bca91b /tests/float/float_parse.py
parentdc2c33b07f83ac4fcbcbcbb294e5726a95507490 (diff)
downloadmicropython-8633abc08291d98035c65904dc4dab9983ddada3.tar.gz
micropython-8633abc08291d98035c65904dc4dab9983ddada3.zip
py/emitinlinerv32: Reduce the footprint of compiled code.
This commit introduces a few changes aimed at reducing the amount of space taken by the inline assembler once compiled: * The register string table uses 2 bytes for each qstr rather than the usual 4 * The opcode table uses 2 bytes for each qstr rather than the usual 4 * Opcode masks are not embedded in each opcode entry but looked up via an additional smaller table, reducing the number of bytes taken by an opcode's masks from 12 to 2 (with a fixed overhead of 24 bytes for the the masks themselves stored elsewhere) * Some error messages had a trailing period, now removed * Error messages have been parameterised when possible, and the overall text length is smaller. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'tests/float/float_parse.py')
0 files changed, 0 insertions, 0 deletions