4 ms·
That really depends on what you measure by "frame rate". In a single-threaded setup, maintaining 60fps is likely impossible. You may think of "just deleting a
by matt4077 8y ago
That really depends on what you measure by "frame rate".
In a single-threaded setup, maintaining 60fps is likely impossible. You may think of "just deleting a few lines of code" as trivial. But syntax highlighting alone requires re-parsing, as will automated formatting, type inference, and whatever else we expect today. It's unlikely for this to be done within the 16ms frame budget.
If you're offloading such work to separate threads, you can draw the frame right away and maintain 60fps. But you won't be able to update all the meta-information and frequently see "flashes of unstyled code".