[fpc-devel] FPC/Lazarus Rebuild performance

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Sep 12 19:28:41 CEST 2010

On 12 Sep 2010, at 19:15, Dimitri Smits wrote:

> ----- "Mattias Gaertner" <nc-gaertnma at netcologne.de> schreef:
>> CPU caches do not work FIFO.
>> If FPC does not fit into the CPU cache, then the CPU has to
>> constantly load code mem additionally to the data.
> in that case, can splitting up the .exe into .exe + more .dll's help?

Only the parts of the executable that are actually used (plus some surrounding bytes) are loaded into the caches. Splitting the used (or unused) code will not change that. You might want to read up on cpu caches: http://en.wikipedia.org/wiki/CPU_cache#Details_of_operation

Furthermore, splitting everything will make things worse, because then you get extra glue code and/or dynamic linker fix ups (i.e., it increases the code size and the program execution time).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100912/b1ed274d/attachment.html>

More information about the fpc-devel mailing list