Skip to content

perf: batch-highlighting of code - #970

Draft
david-christiansen wants to merge 2 commits into
mainfrom
sfl-local
Draft

perf: batch-highlighting of code#970
david-christiansen wants to merge 2 commits into
mainfrom
sfl-local

Conversation

@david-christiansen

@david-christiansen david-christiansen commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

This PR migrates more of Verso to the highlightMany API of SubVerso, allowing it to share more caches when highlighting longer chains of commands.

It relies on a SubVerso PR, and shouldn't be merged until the SubVerso PR is merged and the dependency retargeted.

There is also a change to a proof. With this change, the library works on Lean 4.33 as well, which is important for a downstream user who needs these changes but can't get to latest Lean release candidate.

This PR migrates more of Verso to the highlightMany API of SubVerso,
allowing it to share more caches when highlighting longer chains of
commands.

It relies on a SubVerso PR, and shouldn't be merged until the SubVerso
PR is merged.

There is also a change to a proof. With this change, the library works
on Lean 4.33 as well, which is important for a downstream user who
needs these changes but can't get to latest Lean release candidate.
Comment thread src/verso-manual/VersoManual/InlineLean.lean Outdated
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