[fpc-pascal] Freeing memory with exceptions
Benito van der Zander
benito at benibela.de
Thu May 25 00:15:24 CEST 2023
Hi
>
> Then also run FPC/win32 in wine for a real comparison.
>
Or perhaps against modern C++ on Linux would also be a real comparison
>> FPC could at least inline fpc_setjmp in fpc_pushexceptaddr to make it
>> only one function call.
>>
> These kinds of statements are counter-productive.
That is a very productive optimization idea
Cheers,
Benito
On 24.05.23 13:10, Marco van de Voort via fpc-pascal wrote:
>
> On 24-5-2023 13:00, Benito van der Zander via fpc-pascal wrote:
>>
>>> It is weird that your code calls setjmp? Are you using a non Windows
>>> platform? Comparisons with Delphi should be done on Windows where
>>> the exception systems match. Apples to Apples please.
>>
>> It is FPC on Linux.
>>
>> And Delphi 4 on Linux (in WINE)
>
> Then also run FPC/win32 in wine for a real comparison.
>
>> Even if it wants to do the Linux nonsense, FPC could at least inline
>> fpc_setjmp in fpc_pushexceptaddr to make it only one function call.
>>
>> I regret installing Linux. Everything worked better with Windows 98
>> and Delphi 4
>
> These kinds of statements are counter-productive.
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230525/6e62b9f7/attachment.htm>
More information about the fpc-pascal
mailing list