2012/10/4 Thu 15:13:56 UTC+9 Arseny Kapoulkine:
> 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).After applying your patch, the variable rc is no more used in
> 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.
the function gui_mch_update_tabline().
diff --git a/src/gui_w48.c b/src/gui_w48.c
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.