Linking time

"Sanjay Jha" <>
18 Apr 1999 02:02:57 -0400

          From comp.compilers

Related articles
Linking time (Sanjay Jha) (1999-04-18)
Re: Linking time (1999-04-19)
Re: Linking time (1999-04-20)
Re: Linking time (1999-04-21)
Re: Linking time (1999-04-21)
| List of all articles for this month |

From: "Sanjay Jha" <>
Newsgroups: comp.compilers
Date: 18 Apr 1999 02:02:57 -0400
Organization: Compilers Central
Keywords: linker, performance, comment

I have a 100MB static library that I need to link to. Though my exe
uses only a few of the classes from the library, the sheer size of the
library makes the link time as high as 30 minutes on my NT desktop. Is
there any way I can reduce this link time. I do have the source code
for the library and can actually build it myself. Though I can build
only the classes that I need as a separate library but that won't work
for everybody. There are many other developers on the project that
have the same problem.

Actually If I can find out what is that takes more time, disk I/O or
CPU, I can try to do something about it.

[Interesting question. Windows libraries have reasonable symbol tables,
so it sounds like your linker deals badly with large tables. This can
easily happen when someone who thinks he understands hashing but doesn't
invents a symbol table hash that ends up dumping everything into one
bucket. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.