The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Ken Takata <ken...@csc.jp>
Date: Tue, 23 Oct 2012 15:44:55 -0700 (PDT)
Local: Tues, Oct 23 2012 6:44 pm
Subject: Re: [PATCH] Redraws slow down proportionately to the number of open tabs in gvim/win32
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 Thanks, 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.
| ||||||||||||||