PATCH: Speed up ELF section merge

Nick Clifton nickc@redhat.com
Sat May 7 07:51:00 GMT 2005


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




More information about the Binutils mailing list