diff options
author | Damien George <damien@micropython.org> | 2023-05-09 11:03:17 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-06-02 21:59:47 +1000 |
commit | ce31e5a2dc0736ebc7976098f1fdf520b2c32892 (patch) | |
tree | fb901c8effc2de6a29afd3b4aed00fa712fc573c /py/modarray.c | |
parent | 2757acf6ed1fe165e4d8aa72ba8090fb9bc60c31 (diff) |
py: Use nlr jump callbacks to optimise compile/execute functions.
The changed functions now use less stack, and don't have any issues with
local variables needing to be declared volatile.
Testing on a PYBv1.0, imports (of .py, .mpy and frozen code) now use 64
less bytes of C stack per import depth.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/modarray.c')
0 files changed, 0 insertions, 0 deletions