typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
13 stars 0 forks source link

Performance degradation while editing a heading with Spellcheck turned on #365

Open crimestop opened 6 months ago

crimestop commented 6 months ago

Description

If I turn off Spellcheck and edit a heading, the project can be compiled in about 4 seconds. If I turn on Spellcheck and edit a heading a letter by a letter (so it must be miss-spelled at some stage), the web app needs more than 60 seconds to compile the project. If I turn on Spellcheck and edit a heading by copy some words that are well-spelled, the project can be compiled in about 4 seconds again.

hardward: macbookpro 2019 with intel cpu os: macos 14.5 browser: safari 17.5

Reproduction URL

https://typst.app/project/pi8Ondai2Im1L2AwTqDoQV

Browsers

No response

OS

No response