diff options
| author | Damien George <damien@micropython.org> | 2022-06-19 00:54:40 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-06-20 23:37:38 +1000 |
| commit | 5d3a0bb59c08c201c3e9e89db7c9e9386193dea9 (patch) | |
| tree | 6010ba9acb2e929eed7db0a3b0bf41b4980257e1 /py/persistentcode.c | |
| parent | a506335524a69fbccad245d486f5f641a0cf8919 (diff) | |
py/objcell: Make cell get/set funcs static-inline to reduce code size.
Change in code size is:
bare-arm: -36 -0.062%
minimal x86: -92 -0.056%
unix x64: -72 -0.014%
unix nanbox: -276 -0.060%
stm32: +0 +0.000% PYBV10
stm32: -40 +0.021% NUCLEO_L073RZ
cc3200: -16 -0.009%
esp8266: +176 +0.025% GENERIC
esp32: -28 -0.002% GENERIC
mimxrt: -56 -0.016% TEENSY40
renesas-ra: +0 +0.000% RA6M2_EK
nrf: +0 +0.000% pca10040
rp2: -64 -0.013% PICO
samd: -32 -0.023% ADAFRUIT_ITSYBITSY_M4_EXPRESS
Ports like stm32 that build the VM with -O3 have no change because the
savings from the inlining are offset by additional gcc performance
optimisations in the VM.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions
