diff options
author | Damien George <damien.p.george@gmail.com> | 2015-12-17 12:45:22 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-12-17 12:45:22 +0000 |
commit | 6e2fb56d40832564a164cd5a878cb52d8392b0fd (patch) | |
tree | 25ab07b5ead84d38c78bc5f4f0981b0838eb4bdc /py/repl.c | |
parent | 257848587fb03879e145a34c8065927cf4d1532f (diff) | |
download | micropython-6e2fb56d40832564a164cd5a878cb52d8392b0fd.tar.gz micropython-6e2fb56d40832564a164cd5a878cb52d8392b0fd.zip |
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.
Diffstat (limited to 'py/repl.c')
0 files changed, 0 insertions, 0 deletions