Closed andreikop closed 11 years ago
Which CPU? When was it produced?
Intel Atom N550 @ 1.50GHz.
I'm not saying that new Enki is too slow at scrolling (90% Enki + 10% Xorg, but scrolling look smooth), but it worth to know that this operation is about 1.5 times more CPU-hungry compared to old Enki.
If you program does run on a 64MB 300Mhz computer (slow, but usable), it should run well on a modern computer. If it just can't be run (or way too slow) on old hardware then it is expected to be mediocre on a modern computer. Even if users' computers have X memory and Y CPU, it does not mean that you (an application programmer) shall expect and test on X memory and Y CPU (at least for text editors), because of on a modern hardware I expect text editor to be just one of the applications and expect it to be fast even when there is background compilation running + some heavy memory-hungry database shuffling its tables + something downloading from net (disk IO filled up) + ....
Highlighting is slower here, because
QScintilla has 0 intepretations, it is quicker. But it
So, I think performance degradation is reasonable trade-off. While performance is still good on modern (widelly used) PCs Enki is planed a text editor for coding, not a tiny tool, which you might use on embedded system to fix configs
highlighter itself interprets XML files.
Each redraw?
Highlighing (especially some advanced kind of) should be in background, not interfering with usual plain straightforward way. Is it much more inconvenient to first (or if highlighting is not finished by some N00 millisecond deadline) show unhighlighted text, then change it to highlighted when highlighting is done.
It was general info about bugs connected with CPU usage, startup, memory
Qutepart