[fpc-pascal]Profiling and classes

Peter Vreman peter at freepascal.org
Sun Mar 30 22:03:29 CEST 2003


>  Peter Vreman wrote:
>> Which compiler did you use? Which OO model did you use?
>> If the answers are 1.0.6 and class
>
> Right answer... :-)
>
>> then you should try the 1.1 compiler and
>> add {$implicitexceptions off}
>
> OK, I'll try the 1.1. What does the {$implicitexceptions off} do (I guess
> it
> turns implicit exceptions off, but... :-))? I couldn't find anything about
> it...
>

It's very new, so it's not documented yet. It was created to speed up the
compiler, the result was about 15%.

What it does it removes the expection frames from constructors. The result
is that implicit initialized local variables are not freed when there is
an unhandled expection in the constructor.






More information about the fpc-pascal mailing list