Skip to content
Snippets Groups Projects
Commit 6e2fb56d authored by Damien George's avatar Damien George
Browse files

py/qstr: Change type of qstr from mp_uint_t to size_t.

For builds where mp_uint_t is larger than size_t, it doesn't make
sense to use such a wide type for qstrs.  There can only be as many
qstrs as there is address space on the machine, so size_t is the correct
type to use.

Saves about 3000 bytes of code size when building unix/ port with
MICROPY_OBJ_REPR_D.
parent 25784858
Branches schneider/max30001-pycardium
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment