[fpc-devel] x86_64 Optimizer Overhaul
Marco van de Voort
fpc at pascalprogramming.org
Sun Dec 16 16:57:43 CET 2018
Op 2018-12-15 om 19:01 schreef Martok:
> memory manager in daily use. Doing that is a C++-ism that shouldn't
> exist in a
> sane environment ;-)
>
> I just tested something, and I'm a surprised by how big the difference is. This
> simple test is 1.5 times slower in FPC/trunk/win32 than Delphi 2007 and 2.8
> times slower for instances of TComponent. Medium-size GetMemory (I tested 123
> bytes) is 22 times slower in FPC.
> Looks like there is quite some potential there.
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.
The test should probably be repeated with a FPC recompiled with
OPTS="-dTEST_WIN32_SEH"
More information about the fpc-devel
mailing list