On Sun, 23 Nov 2008, Graeme Geldenhuys wrote:

> On Sun, Nov 23, 2008 at 6:23 PM, Johann Glaser <[EMAIL PROTECTED]> wrote:
> > Always avoid exceptions if possible, since they are very costly in terms
> > CPU time.
> 
> I know this was the rule of thumb in Delphi 5-7 days... Does this
> still apply today, with newer compilers and much faster CPU's?  Just
> curious...

Yes. The code must save all registers, set a jump point etc. Quite costly.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to