-
Notifications
You must be signed in to change notification settings - Fork 21
Debounce Input Event #155
Comments
Additionally, typst preview seems to block input (or at least there is more lag on input than normal). |
When typing fast, this also removes the benefit of |
does your document take a long time to compile? |
Just using the normal typst compile command, no. It's instant. But I usually write my documents with the text file and the preview in split pane. And Everytime I time something, the preview is updated key stroke by key stroke. It lags. |
can you post a screen record here? i wonder how it looks because i didnt experience such lags |
Screencast_14.05.2024_15.00.01.webmMaybe it's package-related. I use polylux for the slides. And tablex, since I edit: I think it's tablex. It just is slow when rendering. The normal |
thank you for the recording! about the packages, i remember the builtin table already covered most features of tablex(it is the tablex author himself reimplement the algorithm in rust!). i've also heard that touying is faster to compile than polylux but i havent tried yet. about the performance: i'm designing a new architechture to improve the performance of the renderer. but recently i'm too busy to move on because of work. |
Technically I do not need any feature that only I'll try |
You can try this in typst-preview v0.11.15 or tinymist v0.11.15: Myriad-Dreamin/tinymist#408 and Myriad-Dreamin/tinymist#412 |
reported by @Enivex on discord. typst-preview will use many CPU cores for some reason. We may add a config to debounce input rate.
The text was updated successfully, but these errors were encountered: