> Hi all !
> I have the same problem, but it fixed with bellow a patch in my environment.
> However, this patch may have regression bugs that I don't know about
> (because I'm not gtk specialist),
> but for now it works fine for me.
> https://github.com/presuku/vim/commit/af73eefcebb6195c72042a91e2d63a6a9b41b3a7
>
> before:
> ```
> $ /usr/bin/time -f '%E' ./vim --clean -f -g -c '!seq 4000' -c 'q'
> 0:03.27
> ```
>
> after:
> ```
> $ /usr/bin/time -f '%E' ./vim --clean -f -g -c '!seq 4000' -c 'q'
> 0:00.30
> ```
I suspect this does cause redrawing errors. Have you tried moving the
cursor up or down to cause the text to scroll?
It can perhaps be used as a hint, that copying an area is slower than
redrawing it. Hoever, this is unexpected, perhaps something in the
deleted lines was expensive. gui_gtk3_redraw() perhaps?
--
Very funny, Scotty. Now beam down my clothes.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211016194234.DB3C5C80053%40moolenaar.net.