diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-12 04:44:44 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-12 04:44:44 +0000 |
| commit | 44c6b453bc3c59961008956fbf221899bac2991c (patch) | |
| tree | 6462e4e57c94bf29feb0e7a4da4d6da67a65219f /util/sbase/nohup.1 | |
| parent | 54936a45a573ce6bd6876086300461f50948efb9 (diff) | |
util/spkmodem-recv: optimise ring buffer pos calc
instead of computing next every time, just advance
two indexes. another performance optimisation on
older machines, especially old compilers, because
it reduces the amount of logical branching.
the old code was pretty much just advancing two
indexes in lockstep, when getting the next pulse,
but recalculating one of them based on the other,
each time.
this is yet another hangover from the old GNU code
that i forked three years ago.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/nohup.1')
0 files changed, 0 insertions, 0 deletions
