This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Speed up ELF section merge


Hi H. J.,
 Hi Dave,

On Fri, May 06, 2005 at 04:04:27PM +0100, Dave Korn wrote:

 Do you think it would be a reasonable approach to define a global flag
variable for the entire bfd library that indicates minimal memory usage is
desired, and a function such as bfd_set_memory_usage_policy() to set it?  It
would allow us to make other functions small-memory friendly as we went
along, without changing any existing behaviour.

It isn't a bad idear. We already have

  --no-keep-memory            Use less memory and more disk I/O
  --reduce-memory-overheads   Reduce memory overheads, possibly taking
much long
  --hash-size=<NUMBER>        Set default hash table size close to
<NUMBER>

Can we consolidate them?

Yes certainly. A tidy up in this area would be a good idea.


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]