Hi Steve,
> That's true for small commits/checkouts. But once the
> listcontrol gets
> filled, it gets slower and slower...
> I wanted to profile that for some time now, but never got to it...
Windows Listcontrols get terribly slow when you add a lot of strings to
them, because their memory managament for strings is crap.
There are two things (at least in Delphi) that can speed up listcontrols a
lot.
1) Use the listcontrols BeginUpdate before adding strings and EndUpdate
afterwards. That makes the listcontrol *not* fire all the events associated
with adding a single entry. If you know you are going to add many strings to
the listcontrol, do this for 10-20 entries in a batch.
2) Use a virtual listcontrol instead that does not handle the strings
itself.
Cheers
-Lübbe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Dec 16 09:27:57 2004