atomic14 • 346 implied HN points • 07 Mar 26
- On the ESP32-S3, compiling with -Os (optimize for size) gave better results than using -O2 (optimize for speed).
- Binary size can matter more than you might expect on constrained microcontrollers, so smaller builds can be preferable.
- This challenges the common assumption that higher optimization levels focused on speed are always the best choice for embedded targets.