On Thu, 16 Feb 2012 00:14:41 +0200 Graeme Geldenhuys <[email protected]> wrote:
> On 15 February 2012 21:19, Massimo Soricetti wrote: > > I wonder if something in TStringList internals goes really bad when has more > > than 65.536 lines? > > Maybe this problem afflicts the lazarus IDE too... > > Yes, it is a known problem, and why Lazarus IDE uses TTreeview in many > places like the Messages dialog, instead of TStringGrid. TStringGrid in messages? Funny idea. What editor uses a grid to show lines of text? > A few months back (maybe even a year or more) I reported this issue > too. fpGUI's StringGrid can create 8mil populated rows or columns in > an instant. LCL took....well, it never finished after 4 hours on a > quad core system - then I killed the test app. :) I'm sure if you > search the mailing list archive, you will find that message thread. Who needs 8 million rows in a string grid? I tried 1 million and it took 4 secs. 8 million created an endless loop and out of memory. Maybe the grid should define a maximum. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
