Skip to content

strncmp() is an 8 bit Champion!

January 17, 2021

It’s not typical but the strncmp() routine that i dug into first shows big advantages in setting the LCC integer size to 8 bits. It went down from 136 bytes to 113 bytes and that’s purely fewer instructions. That came at the expense of needing to convert all int declarations to int16_t including some implicit declarations of literals.

From → Uncategorized

Leave a Comment

Leave a comment