[fpc-devel] Patch for rtl/inc/rtti.inc

Markus Beth markus.beth at zkrd.de
Sun Sep 14 15:49:20 CEST 2008


Hi,

this patch rewrites code of ArrayRTTI and fpc_Copy to allow the compiler 
to generate faster code (at least on i386).
The change in ArrayRTTI yields a performance gain of ~4% for our real 
world application on a 3 GHz Intel Xeon.
The change in fpc_Copy is completely untestet because I don't know when 
this compilerproc is called. Maybe someone who knows can hack a quick 
benchmark...

Markus

P.S.: Do you prefer to get patches like this via bugtracker or via 
mailinglist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtti_loop.patch
Type: text/x-patch
Size: 973 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080914/a18244ab/attachment.bin>


More information about the fpc-devel mailing list