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:
parent
fba13d1447
commit
0255334a1b
2 changed files with 58 additions and 31 deletions
Loading…
Add table
Add a link
Reference in a new issue