diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-11 23:30:21 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-11 23:30:21 +0300 |
| commit | 5530c662bb53837d64a154e3b580d41adb6cc8b9 (patch) | |
| tree | 20cdd971425e945eecd8d3b5fbe243a4bd779409 /src/common/input.c | |
| parent | 472ed3e4e50a165638acecaf071ec3c2c13c451f (diff) | |
opt: compile-time locked LUTs and branchless SIMD/ALU primitives
- Replace buffer allocation branching loop with compile-time locked 24-byte LUT indexed by (cur & 3)
- Use hardware lrint rounding and array-indexed pointer offsets for scroll axes
- Replace press queue button/kind conditionals with branchless bitmasking and 1:1 identity casting
- Make display_has_immediate_work evaluate state flags with bitwise ALU instead of short-circuit branches
Diffstat (limited to 'src/common/input.c')
0 files changed, 0 insertions, 0 deletions
