News: 0001643530

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Vim Patches Yielding Faster GTK3 Wayland Performance: "Major Milestone"

([Desktop] 6 Hours Ago Vim + GTK3 + Wayland)


For those using Vim with its GTK3 toolkit interface on Wayland, it soon should be delivering much better performance with pending patches.

Vim developer Dezza recently opened a Vim pull request to introduce deferred dirty redraw handling for its GTK3 Wayland back-end. The code reworks how the redraw process is handled for Vim's GTK3 Wayland back-end. Dezza explained in the [1]pull request of the impact on end users:

"The result is that scrolling is fast, mostly smooth and cpu usage lowered significantly; because key input, especially with continous key-repeat and scroll key such as pgup/c-b does not simultaneously pump excessive redraws from the micro-redraws queued by gui_gtk_draw_string_ext etc."

Dezza [2]added when initially opening the PR two weeks ago that it's " a major milestone in performance on gtk3 with wayland. "

[3]

The improvement is currently [4]pending as a nice performance improvement for Vim on GTK3 under Wayland while its GTK4 support continues to mature.



[1] https://github.com/vim/vim/pull/20528

[2] https://github.com/vim/vim/pull/20528#issuecomment-4704235669

[3] https://www.phoronix.com/image-viewer.php?id=2026&image=vim_gtk3_lrg

[4] https://github.com/vim/vim/pull/20528



You can always tell luck from ability by its duration.