[Lazarus] Lazarus slow on large files

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Feb 15 13:22:36 CET 2012




zeljko <zeljko at holobit.net> hat am 15. Februar 2012 um 12:44 geschrieben:

> On Wednesday 15 of February 2012 12:17:00 michael.vancanneyt at wisa.be wrote:
> > On Wed, 15 Feb 2012, Sven Barth wrote:
> > > Am 15.02.2012 09:14, schrieb Michael Van Canneyt:
> > >> Hi,
> > >>
> > >> 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.
> > >>
> > >> The source of the android include file are drawn, but the scrollbars
> are
> > >> not drawn, scrolling or navigating the source does not work, and the
> IDE
> > >> is generally totally unresponsive. Only closing the tab again makes
> the
> > >> IDE responsive.
> > >> (and even the closing takes a while).
> > >>
> > >> All this is on Linux, GTK, 64-bit, Lazarus from yesterday.
> 
> 
> I hope you mean GTK2.
> 
> There are several monster units in the FPC sources. For example the gtk2
> with hundreds of include files and the MacOSAll with more than 250.000
> lines (before the split). The IDE worked fluently with them for years. On
> recent machines it takes one or two seconds to load and parse (plus I/O
> wait).
> 
> Maybe the android unit uses some specials.
> 
> 
> 
> 
> 
> >[...]
> > It's clearly an issue in drawing, because the code completion seems to
> work
> > fine.
> 
> Where's that unit ? I'll try with qt under linux.



Mattias

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


More information about the Lazarus mailing list