×ばつ cliff, hit by expanding cards, searching, and switching days. Replaced with a true LRU on a logical clock, evicting the coldest quarter so the sort amortizes. Cap raised 2000 → 6000 (first paint alone touches ~935 uniques, ~443 KB of source text). Correction to an earlier reading: the cap was not the cause of slow first load — the first-paint working set fits under the old cap. It's a latency cliff on interaction, not on load. Testing 530 tests in 97 suites pass, including ParserContractTests (three-repo corpus untouched). New: SplitSubjectBodyTests (curated + differential + cost-curve), InlineMarkdownCacheTests (LRU retention, boundedness, coldest-first eviction, hit==miss), and hash-digit fast-path tests. The scaling tests assert the cost curve, not a wall-clock budget — a hard millisecond bound would be flaky, so they check that doubling the input doesn't quadruple the time. They fail on the old implementation (ratio 3.26; 16k line at 197 ms) and pass on the new one. Caveats All figures are Debug. Release couldn't be measured in-app (@testable needs testability, and forcing it on Release fails because Run.make is #if DEBUG). The parse figures were cross-checked standalone at -O and are Release-credible. DebouncedFileEventsTests.coalescesBurstIntoFewTrailingEvents failed once during this work and passed on 4 subsequent runs. It's a timing/debounce test and nothing here touches file events — flagging it as observed pre-existing flakiness, not investigated. 🤖 Generated with Claude Code">
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.