As the author points out, performance is pretty much irrelevant - it is a rewrite of python prioritizing memory usage.
zem · 2h ago
would have been nice to see benchmarks against the equivalent c code running on the same microprocessor, not against micropython code running on different hardware. the post just told me that microprocessors are slow, not how well micropython performs.
Not sure whether they're supported on all the architectures, though.
mrheosuper · 3h ago
Generate 2000 random numbers and sorting them using bubble sort on 160Mhz 32bit mcu takes 80 seconds ? This is exactly why micropython is a toy.
snvzz · 6h ago
>pico 2w
ARM or RISC-V?
drewcoo · 7h ago
Somehow, I don't mind that the code blew the stack because it was recursion without memoization. Blowing the stack should be a pretty clear sign to figure out why and fix it.
Not sure whether they're supported on all the architectures, though.
ARM or RISC-V?