Curious, exemptions require $IMPLICITEXCEPTIONS (https://www.freepascal.org/docs-html/prog/progsu34.html) or you leak memory with managed types and apparently these try..finally blocks slow down function calls quite a bit.
Question is, how is this different from early function returns? Does the compiler still need to wrap the whole function body in try..finally to capture any places the function could return? Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal