-
- Downloads
py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled.
Going from MICROPY_ERROR_REPORTING_NORMAL to MICROPY_ERROR_REPORTING_TERSE now saves 2020 bytes ROM for ARM Thumb2, and 2200 bytes ROM for 32-bit x86. This is about a 2.5% code size reduction for bare-arm.
Showing
- bare-arm/mpconfigport.h 2 additions, 2 deletionsbare-arm/mpconfigport.h
- py/argcheck.c 52 additions, 15 deletionspy/argcheck.c
- py/builtin.c 18 additions, 7 deletionspy/builtin.c
- py/builtinimport.c 12 additions, 2 deletionspy/builtinimport.c
- py/mpconfig.h 1 addition, 1 deletionpy/mpconfig.h
- py/obj.c 91 additions, 15 deletionspy/obj.c
- py/objstr.c 123 additions, 48 deletionspy/objstr.c
- py/objtype.c 28 additions, 7 deletionspy/objtype.c
- py/parsenum.c 7 additions, 1 deletionpy/parsenum.c
- py/runtime.c 102 additions, 25 deletionspy/runtime.c
Loading
Please register or sign in to comment