Browse Source
param_t is only used as an offset and we have <1000 params, so an uint16_t is enough. This saves roughly 1KB of RAM. We only do that on NuttX because normal integers have better performance in general. Previously on amd64, this was even 64bits because it was an uintptr_t.sbg
8 changed files with 39 additions and 12 deletions
Loading…
Reference in new issue