You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Persisted config summary, so a fast-forward doesn't load an unindexed target (next) #2093
A fast-forward into a target that may govern writes needs the target's config, and reading it means loading the target. With #2009, on a fresh instance, that load is the whole cost of a fast-forward into an unindexed target: 166.7 ms against 16.3 ms on main for a target of 1,000 commits (#2009's measurement). Indexed and cached targets are near parity, and it's a cold path (mostly one-shot CLI fast-forwards), so #2009 takes the cheap narrowing and accepts the rest.
Make a ledger's config readable without a full load, e.g. a config summary persisted with each commit or nameservice record.
That changes a stored format, so by our rule for what goes where (can the new code run on data the previous version persisted, without a migration?), it belongs on next, not main.
From #2009 (Follow-ups: a fast-forward on a fresh instance).
Activity