> However :( when I edit files with dense text (=or more files in split
> window) I experience some noticeable lag. Looking at numbers, st uses
> almost no CPU time, so there is not too much stuff to speed up there. On
> the other hand, X server consumes one of my CPUs completely. Redrawing
> whole lines at once quickly can get expensive. (Storing dirty bit per
> glyph also doesn’t help if half of the line/screen has to be redrawn.)

It would be an interesting project, but you may be able to get a lot of
mileage out of changing the max FPS of st down to 60/30:

    /* frames per second st should at maximum draw to the screen */
    static unsigned int xfps = 60;
    static unsigned int actionfps = 30;

I've found this helps keep CPU usage down to a minimum.

--

.i la budza pu cusku lu
 <<.i ko do snura .i ko do kanro
   .i ko do panpi .i ko do gleki

Reply via email to