Skip to content

@pierre/diffs 1.3 + async diff highlighting - #65

Merged
david-crespo merged 4 commits into
mainfrom
async-diff-highlighting
Aug 18, 2026
Merged

@pierre/diffs 1.3 + async diff highlighting#65
david-crespo merged 4 commits into
mainfrom
async-diff-highlighting

Conversation

@david-crespo

@david-crespo david-crespo commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator
  • Fetch full file contents only when a hunk is expanded, instead of fetching and tokenizing files as they enter the render window
  • Run highlighting in a worker pool so large diffs don’t block the UI

Seems to be faster. One notable improvement: pressing n to move on from a very large file diff (like a lockfile) had a noticeable delay before, now it doesn't.

@david-crespo
david-crespo merged commit d9b3ddb into main Aug 18, 2026
2 checks passed
@david-crespo
david-crespo deleted the async-diff-highlighting branch August 18, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant