summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-01-09 11:19:26 +1100
committerDamien George <damien.p.george@gmail.com>2020-01-13 01:01:45 +1100
commit40057600b873b2a802de332d251492a762b32011 (patch)
treee24c328e757052eb5703b3eb5bd9f773fe0dab57 /py/obj.h
parentd96cfd13e3a464862cecffb2718c6286b52c77b0 (diff)
py/obj: Optimise mp_obj_get_type for immediate objs with repr A and C.
This function is called often and with immediate objects enabled it has more cases, so optimise it for speed. With this optimisation the runtime is now slightly faster with immediate objects enabled than with them disabled.
Diffstat (limited to 'py/obj.h')
0 files changed, 0 insertions, 0 deletions