Performance is pretty bad in my notes app and it makes sense why. And when I say bad, I really mean it ๐ It jumps to 100% CPU usage when writing super fast in a document with lots of #Markdown styling.
I am currently rerendering the entire Markdown file every time the user types a single character - this is obviously not ideal...
The plan is to only rerender the Markdown in the visible area.
Also, I should track the text that was last processed to avoid re-parsing it.
Login to reply