I think it's because on STM32 you have each pin memory mapped to an address, which means functions like shiftOut can really be optimised.
ESP32 shiftOut could definitely be improved a lot, and it may be that if the IO pins are memory mapped too you could just implement the relevant GetPinAddress functions and get a massive speed boost
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think it's because on STM32 you have each pin memory mapped to an address, which means functions like
shiftOut
can really be optimised.ESP32
shiftOut
could definitely be improved a lot, and it may be that if the IO pins are memory mapped too you could just implement the relevant GetPinAddress functions and get a massive speed boost