0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

perf(router-generator): keep a digest of each route file instead of its text

`FileState.content` held every route file's text for the whole session
(3.6 MB of 9 MB on a 1,485-route app); it was only read to tell an unchanged
file and to guard upkeep writes. The state now keeps a SHA-1, and the text an
upkeep write is guarded against only while that write waits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-11-09 11:07:18 +01:00
commit 0255334a1b
No known key found for this signature in database
2 changed files with 58 additions and 31 deletions