earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 boards
GNU Lesser General Public License v2.1
1.92k stars 402 forks source link

Use custom LWIP checksum for ~13% faster checksums #2172

Closed earlephilhower closed 3 months ago

earlephilhower commented 3 months ago

Use -O2 only on the LWIP checksum routine, resulting in a speedup of around 13% (checksumming only, not entire LWIP stack) for 72 add'l bytes of flash.