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

> ----- "Mattias Gaertner" <nc-gaert...@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).


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to