summaryrefslogtreecommitdiffstatshomepage
path: root/py/objset.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-10-04 11:31:05 +1100
committerDamien George <damien.p.george@gmail.com>2017-10-04 11:31:05 +1100
commit6c82cfc089466f0b3f4b61c81baee1cabece1eaa (patch)
tree66bc2b41f1a6bcdb5c0e3b20c1f6c908edd32e69 /py/objset.c
parent9e0cdb22f1a549d5e542418a3007c756cd594b84 (diff)
downloadmicropython-6c82cfc089466f0b3f4b61c81baee1cabece1eaa.tar.gz
micropython-6c82cfc089466f0b3f4b61c81baee1cabece1eaa.zip
py/objtype: Change type of enum-to-qstr table to uint16_t to save space.
Qstr values fit in 16-bits (and this fact is used elsewhere in the code) so no need to use more than that for the large lookup tables. The compiler will anyway give a warning if the qstr values don't fit in 16 bits. Saves around 80 bytes of code space for Thumb2 archs.
Diffstat (limited to 'py/objset.c')
0 files changed, 0 insertions, 0 deletions