On Jul 3, 3:50 am, kkivi <konstantin.k...@gmail.com> wrote:
> Hello All
>
> We have a project on Linux that currently contains  about 800 object
> files. If we link all of them as individual files
> it takes about an hour. Putting them in several static libraries and
> linking after doesn't change anything.
> However, if we build several dynamic libraries (15 ) and then link it
> takes only 2-3 minutes. Startup time doesn't change noticably.
>
> What is the reason for such behaviour and  is there any way to improve
> linking time without dinamic libraries?
>
> Best regards, Konstantin

Could it be n log(n) look up for name functions?
Arbitrary suggestions: try use static functions where possible and
reduce name length.

PS. What is wrong with dynamic? that should be preferable way.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to