hax / atom-elastic-tabstops

Elastic Tabstops for Atom
MIT License
84 stars 1 forks source link

Performance issues when many rows #15

Open lillem4n opened 7 years ago

lillem4n commented 7 years ago

A few hundred lines of tab aligned columns makes Atom really really slow. It would be ideal if this was not the case. :)

hax commented 7 years ago

Currently we recalculate the screen rows for each paint, it's normally only include visible lines in the screen (about 40 to 60 lines in typical screen monitor). So the cost would not relate to the line count of the file.

But the recalculation is based on DOM structure and measurement which is slow. This is the limitation of current implementation.

Because Atom 1.19.x will rewrite TextEditor rendering, I would like to postpone this issue until 1.19 become stable.

lillem4n commented 7 years ago

Cool. I guess this has to do with me working in 4k and also love having multi column JSONs formatted on screen. :)