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

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.
parent 9e0cdb22
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment