[fpc-pascal] $IMPLICITEXCEPTIONS vs early function return
genericptr at gmail.com
Sat Jul 15 16:53:59 CEST 2023
> On Jul 15, 2023, at 7:18 AM, Jonas Maebe via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> It also sets up an exception frame. FPC uses setjmp/longjmp for that, which means that while restoring everything when an exception happens is fast, saving the exception frame itself is relatively slow.
Ok so just to confirm does disabling $IMPLICITEXCEPTIONS leak memory with ref counted types if a function exists early? For example:
s := '1234';
More information about the fpc-pascal