Am 06.10.2010 05:57, schrieb Adem:
I did a global search on trunk\compiler and found the following numbers:

GetMem(): 212 hits
FillChar(): 362 hits

[...]
---------------
More hit data:

fpc/trunk/packages/
GetMem(): 1464 hits
FillChar(): 608 hits

trunk/lazarus/
GetMem(): 522 hits
FillChar(): 1366 hits


You might also search in rtl/ (especially objpas), because that contains the core of FPC's class system (and almost everything passes through that code some time).

You might also try a proof of concept implementation of your idea to demonstrate whether there really is a benefit (you can replace the default memory manager, so you should be able to test this without touching the current default heap manager).

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to