[Lazarus] Lazarus slow on large files

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Feb 15 17:03:09 CET 2012


zeljko <zeljko at holobit.net> hat am 15. Februar 2012 um 16:48 geschrieben:

> On Wednesday 15 of February 2012 15:34:28 Mattias Gaertner wrote:
> 
> > Yes. It is TLazAccessibleObject.GetChildAccessibleObjectWithDataObject.
> It
> > uses a linear search for the 10.000 items. I will replace it with an avl
> > tree.
> 
> Exact point.


The avl tree reduced it to half a second here.

The code explorer still needs a lot of time on this unit, because it
creates 60.000 nodes and for each node it creates a description. Maybe the
descriptions can be created on demand and only for visible nodes.





Mattias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120215/e412ef6f/attachment-0003.html>


More information about the Lazarus mailing list