On Wed, Feb 15, 2012 at 09:39:35PM +0100, Mattias Gaertner wrote: > > > I was doing some test programming for android. > > > The android SDK unit contains 68000 lines (.pas and .inc together). > > > Opening it in the IDE (by right-clicking an identifier in my sources) > > > virtually stops the IDE. > > > > Don't know if this is related, but I used a StringList component to > > display some text in a Lazarus project months ago and it worked fine > > with texts about 10.000-30.000 lines long, but went incredibly slow, > > pratically freezes, when I loaded an 85.000 line textfile. > > I wonder if something in TStringList internals goes really bad when has > > more than 65.536 lines? > > Never heard of such a problem. > Please create a bug report.
Known problems (also on Delphi): - TStringlist typically uses twice the amount of RAM needed. - Insertion into a sorted tstringlist gets very slow in the beyond 100-200kstrings magnitude. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
