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
A multi-file bend-lint fix preview rescans every edit for every file #2292
Called the public render(diag) with one diagnostic that has one safe fix spanning generated modules. Each module has # original as its first line. The rule returns four adjacent one-character replacements per file, interleaving the files by offset.
What happened
The preview scans the full edit list once per source. With 1,024 files (4,096 edits), render took 19 ms median over three runs; with 4,096 files (16,384 edits), it took 168 ms. Output order and patch hunks should stay the same if edits are grouped once, by first occurrence of their source. This happens in preview rendering, not in fix validation (#2283) or in --fix selection (#2258).
Activity