![]() strlen is often used incorectly to get the length of strings defined at compile time. In these cases, the behavior can be replicated with sizeof(X) - 1, which is calculated at compile time rather than runtime, reducing overhead. I've created a simple macro to replace these instances and applied it to all the files compiled into the angler kernel. Signed-off-by: Joe Maples <joe@frap129.org> |
||
---|---|---|
.. | ||
Documentation | ||
core | ||
dynload | ||
gen | ||
hw | ||
include/dspbridge | ||
pmgr | ||
rmgr | ||
Kconfig | ||
Makefile | ||
TODO |