Op 12/17/2018 om 8:23 AM schreef Ryan Joseph:
On Dec 16, 2018, at 10:57 PM, Marco van de Voort <f...@pascalprogramming.org> 
wrote:

I'm no expert, but afaik creating an object involves an exception frame, which 
is afaik cheaper in Delphi with SEH, then FPC with setjmp.
Even if there is no try..except block?

Try.. finally block is more like it. If the constructor segfaults, the already allocated memory is released and an exception is raised.


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to