mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
perf(router-utils): cheaper per-module compile work, same outputs
Lazy plan fingerprint (only the Rsbuild session reads it), edge keys as a digest of the joined fields, process.env read once at module scope, stringLiteral fast path, numeric clusterReads memo, revision() once per request, canonicalJson in loops, identity env emission without a map (every host passes an unchanged env module through), hit validation and snapshot validation with Promise.all. Tier 0 reads import/export bindings from Yuku's module records (no node index for Tier-0-only modules); purity skips the callee reference lookup when no callee is declared pure. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
4f4f2e848d
commit
7369a14909
10 changed files with 161 additions and 74 deletions
Loading…
Add table
Add a link
Reference in a new issue