William Casarin
be6b0e2702
Move note language computation off the main thread
...
NLLanguageRecognizer.processString() is an expensive NLP operation that
was moved to @MainActor in 5058fb33 , causing UI jank when scrolling.
This moves language detection back to the async preload path where it
runs off the main thread. get_preload_plan is synchronous again and
defers language computation to preload_event. Translations still happen
on the first preload pass since preload_event now checks .havent_tried
directly rather than relying on the load_translations flag from the plan.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-10 10:16:25 -08:00
..
2025-08-11 16:40:01 -07:00
2024-07-14 21:26:03 -07:00
2026-02-02 16:10:09 -08:00
2025-12-29 11:01:23 -08:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2023-08-01 21:53:19 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:40:01 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2023-08-28 08:18:25 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2023-08-25 19:05:34 -07:00
2025-08-11 16:39:59 -07:00
2024-09-01 06:42:35 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2024-01-26 12:00:26 -08:00
2023-08-25 19:05:34 -07:00
2025-08-11 16:39:43 -07:00
2026-01-02 20:49:13 -08:00
2026-01-22 14:20:57 -08:00
2026-02-02 16:10:09 -08:00
2025-08-11 16:40:01 -07:00
2026-02-10 10:16:25 -08:00
2026-02-02 18:52:41 -08:00
2025-08-11 16:40:01 -07:00
2026-02-02 18:52:41 -08:00
2025-08-11 16:40:01 -07:00
2025-12-29 11:01:23 -08:00
2026-01-12 11:41:01 -08:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:40:01 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2023-07-25 15:34:05 -07:00
2023-07-25 15:34:05 -07:00
2023-07-25 15:34:05 -07:00
2023-07-25 15:34:05 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:40:01 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2026-01-28 13:16:06 -08:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00
2025-08-11 16:39:43 -07:00