[fpc-devel] (patch) performance fix
florian at freepascal.org
Sun Jun 1 12:40:31 CEST 2008
Sergei Gorelkin schrieb:
> verbose.UpdateStatus is being called after each line compiled. In turn,
> it calls fmodule.get_module which does linear search in the list of
> loaded modules. The effect is not noticeable while compiling individual
> units, but on huge projects it ends up eating quite a number of CPU cycles.
> This can be fixed by changing the order of checks (see the patch attached).
More information about the fpc-devel