[fpc-devel] FPC/Lazarus Rebuild performance
Sergei Gorelkin
sergei_gorelkin at mail.ru
Sat Sep 11 16:43:05 CEST 2010
Michael Van Canneyt пишет:
>>>
>> One idea that comes at this point is to put PPU data directly into
>> object files, so the number of output files is reduced plain twice.
>> The PPU data could be placed into a section that is ignored by linker.
>> However I don't know is this is possible for all platforms.
>
> Not each platform may support this, so if you want to go down this path,
> why not do the opposite, as Delphi ? Putting the .o data at the end
> allows the compiler to simply not read that data when reading the PPU.
> Only when actually linking do you need to extract all .o data from the
> ppus.
>
That is an option, too. But given that linking typically takes place at every build (as opposed to
compiling), I am afraid that total number of file operations on platforms without builtin linker
won't be noticeably less than it is currently.
Regards,
Sergei
More information about the fpc-devel
mailing list