[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/2467] "ar q" / ranlib has large memory use (linear in arch

From: dcoutts at gentoo dot org
Subject: [Bug binutils/2467] "ar q" / ranlib has large memory use (linear in archive size)
Date: 17 Mar 2006 12:33:46 -0000

------- Additional Comments From dcoutts at gentoo dot org  2006-03-17 12:33 
Changing summary to be more accurate. The quadratic thing is a misleading since
we only get that behaviour with xargs (where we're basically running ranlib a
linear number of times on an archive that is growing linearly).

The real problem is with the fact that ranlib allocates bfd resources for each
archive member simultaniously while building the symbol armap. It seems possible
that it could be done by only allocating bfd resources for one archive member at
a time (+ space for the symbol map that is being accumulated).

           What    |Removed                     |Added
            Summary|"ar q" gives quadratic      |"ar q" / ranlib has large
                   |memory use                  |memory use (linear in
                   |                            |archive size)


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]