mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
What changed: the strip's correction chip (#2249) asked the decoder for what space would do on every letter, inside the key's own handling. Measured on the API 31 emulator (temporary timing around KeyboardEngine.letter, 108 letters of a typed sentence with typos): that search took 1.97 ms median, 16.1 ms p95 and 21 ms at worst, 77% of each keystroke (letter() 3.1 ms median, 19.0 ms p95). Now the letter commits and the suggestions show at once, and the chip is worked out 100 ms later unless another letter came first (then it waits again). Space still decides its correction itself, exactly as before, so what gets typed doesn't change. After (same run): letter() 1.36 ms median, 4.3 ms p95; the deferred chip 1.5 ms median, 5.3 ms p95, between keys. The typed sentence came out identical before and after ("The quick brown fox jumps over the lady dog ... because people like to write long sentnces"). Emulator only; a phone's CPU is slower, so the gap there is larger. Replaced: the inline chip computation. |
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||