diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2022-09-17 22:22:32 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-09-19 19:06:16 +1000 |
commit | b41aaaa8a918a6645ebc6bfa4483bd17286f9263 (patch) | |
tree | 717c8d785154277b21bd10b0fd9e4fc54af61912 /tools/mpy_ld.py | |
parent | 94beeabd2ee179d587942046555833e022241f24 (diff) | |
download | micropython-b41aaaa8a918a6645ebc6bfa4483bd17286f9263.tar.gz micropython-b41aaaa8a918a6645ebc6bfa4483bd17286f9263.zip |
py/obj: Optimise code size and performance for make_new as a slot.
The check for make_new (i.e. used to determine something's type) is now
more complicated due to the slot access. This commit changes the inlining
of a few frequently-used helpers to overall improve code size and
performance.
Diffstat (limited to 'tools/mpy_ld.py')
0 files changed, 0 insertions, 0 deletions