obl/oblas_lite: add OBLAS_TINY to disable look-up table #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-sleepybishop/nanors!2
Loading…
Reference in a new issue
No description provided.
Delete branch "oblas_lite-nano"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I implemented your suggestion from https://github.com/sleepybishop/nanorq/pull/10#issuecomment-1048392099 and it works great!
This brings the size of
rs.odown to just 2k on Cortex-M4 with recovery still being plenty fast for firmware updates where speed is measured in kilobytes / s anyway.Doesn't look too bad on Linux either:
master
OBLAS_TINY
Thank you for the PR. I've left a suggestion that I think is simpler.
@ -1,4 +1,32 @@#include "oblas_lite.h"Would you consider this simpler change? The modulus/accumulator bits are not necessary when using the log and exp tables, and
gf2_8_mul()can simply be a macro. Finally the multiplication lookup table is only included ifOBLAS_TINYis not defined.Thank you for the PR!