-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move tokenization to a web worker #147066
Comments
At first I was thinking it's about |
lines inside the viewport are retokenized everytime the viewport changes (scrolling etc) this is different to when it was synchronous, as it would try to tokenize the line once and not try again until the user types |
I don't think this is true, it wouldn't tokenize lines only once when it used heuristically computed states to tokenize them. |
me just scrolling normally at the same speed in both videos test file is the builtin c extension Async.Off-1.mp4Async.On-1.mp4
I don't understand |
Also see #77140
Plan of attack:
vscode-textmate
refactorings in vscode #167288pop(n), push(state)
instructions.Sync tokenization:
Code_-_OSS_RQiEvFdPla.mp4
Async tokenization:
Code_-_OSS_owfdHXRTpY.mp4
The text was updated successfully, but these errors were encountered: