-
- Downloads
py: De-optimise some uses of mp_getiter, so they don't use the C stack.
In these cases the heap is anyway used to create a new object so no real need to use the C stack for iterating. It saves a few bytes of code size.
Showing
- py/objarray.c 1 addition, 2 deletionspy/objarray.c
- py/objdict.c 3 additions, 6 deletionspy/objdict.c
- py/objlist.c 1 addition, 2 deletionspy/objlist.c
- py/objset.c 5 additions, 10 deletionspy/objset.c
- py/objtuple.c 1 addition, 2 deletionspy/objtuple.c
- py/runtime.c 2 additions, 4 deletionspy/runtime.c
Loading
Please register or sign in to comment