From: Stephen Williams <steve@icarus.icarus.com>
Subject: Re: Urgent: Manipulating large libraries
Date: Tue, 19 Aug 1997 21:20:47 +0800 [thread overview]
Message-ID: <199708200420.VAA06771@icarus.icarus.com> (raw)
>I've tried manipulating a large library (^17MB) on an old 60MHz Pentium,
>working on a SCSI-2 Jaz drive (so the disk is not too slow). A make,
>doing lots of ranlib's, takes nearly 30 minutes even if there are no
>changes; on an IBM rs/6000 43P (not a particularly fast workstation), it
>takes just a few seconds!
burley@gnu.ai.mit.edu said:
> I'm no expert on this, but why "doing lots of ranlib's"? I believe
> the only purpose to ranlib, on systems where it has any purpose at
> all, is to construct indexes for a library so `ld' can read it
> efficiently.
Craig is right. furthermore, watch out for the performance of "ar cr". If the
library is large, you usually get better performance by removing it and
using "ar cq". The latter doesn't have the exponential behavior of the
other.
--
Steve Williams
steve@icarus.com
steve@picturel.com
"The woods are lovely, dark and deep. But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-08-19 13:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-19 13:20 Stephen Williams [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-08-19 20:07 Urgent: Manipulating large libraries Nikhil Nair
[not found] <Pine.LNX.3.96.970819205550.29346A-100000@amasis.trin.cam.ac.uk>
1997-08-19 20:35 ` Tom Browder
1997-08-19 20:36 ` Ben Scott
1997-08-20 2:50 Stephen Williams
1997-08-20 3:54 Craig Burley
1997-08-20 15:37 Przemek Klosowski
1997-08-20 17:12 Dale Martin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox