Arseny Kapoulkine wrote:

> gui_mch_update_tabline in Windows gvim is quadratic in the number of
> tabs. This happens because the entire control is redrawn after every
> InsertItem/SetItem/DeleteItem message. The delay starts to get
> *really* noticeable at 60 open tabs or so (Windows 7).
> 
> Note that disabling redraws during the update is not enough - the code
> used GetTabItemRect to check if the item is present; however, this
> forces the tab control to recompute the layout after every change,
> which still results in quadratic behavior.
> 
> The attached patch fixes the issue.

Thanks, I'll add it to the todo list.

I do wonder how you can work with 60 open tabs...


-- 
<Beeth> Girls are like internet domain names,
        the ones I like are already taken.
<honx>  Well, you can stil get one from a strange country :-P

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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

Raspunde prin e-mail lui