[PATCH] ld: pe: Improve performance of object file exclude symbol directives

Jan Beulich jbeulich@suse.com
Tue Sep 6 07:40:37 GMT 2022


On 05.09.2022 14:54, Nick Clifton via Binutils wrote:
>> +      max_exclude_symbols = ROUND_UP(fdef->num_exclude_symbols + 1, 32);
> 
> Given that the point of this patch is to improve performance when there
> are a large number of excluded symbols, incrementing the array by 32 slots
> at a time seems counter intuitive.  I would suggest a bigger number, eg 1024
> or 10240.

Perhaps double the value, thus not overly much impacting the case of there
being a moderate number of excludes?

Jan


More information about the Binutils mailing list