diff options
author | Damien George <damien.p.george@gmail.com> | 2019-02-27 00:10:04 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-03-01 15:22:46 +1100 |
commit | 0779693c23fcc55993a06e4e0adf30a3d41f90f5 (patch) | |
tree | 7f80921f2b287bad50173f031a611b323fdab78c /py/objtuple.c | |
parent | 8ce22662feadeb6b564f1087134346cb287251f0 (diff) |
py/compile: Add optimisation to compile OrderedDict inplace.
This optimisation eliminates the need to create a temporary normal dict.
The optimisation is enabled via MICROPY_COMP_CONST_LITERAL which is enabled
by default (although only has an effect if OrderdDict is enabled).
Thanks to @pfalcon for the initial idea and implementation.
Diffstat (limited to 'py/objtuple.c')
0 files changed, 0 insertions, 0 deletions