[lazarus] Work being done

Alexander Mehlhorn (AHM) support at tritontools.com
Wed Feb 16 17:14:07 EST 2000


>SHEdit (can be found in the FCL package), the editor used for 'the other
>FreePascal GUI IDE' Kassandra, has a GTK demo application with
>highlighting, and this runs very fast under Linux.

So is there any way to find out how they handled the fonts and worked around
the drawing problem or is the real problem something else ? According to the
description of the creating of a font everytime the style changes I could
imagine a very slow process.
The highlighter: I have not seen the source of the current one but I am
wondering if all methods are declared as virtual instead of dynamic ... I
know that not all methods in the original were such. Is there a way to
declare virtual methods at all in Freepascal ? Remember that virtual methods
are optimized for speed as compared to dynamic methods for codesize.
If the font is not the problem then something else has to be. I am unsure
about the following but if I am not mistaken then part of the reason Windows
has always been slow is the pre-loading of fonts during Windows startup.
Hence the more fonts the slower it is. This was the reason I asked about how
fast windows is when running Lazarus. Is anybody out there that is using it
under Windows at this stage ?
I am also wondering if the stream access (is there such a thing ?) in
Lazarus is optimized enough for us to be reading from it fast. Hence the
original Parser uses Streams.

Regards, Alex








More information about the Lazarus mailing list