aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2024-10-21 17:58:32 +0200
committerMichael Matz <matz@suse.de>2024-10-22 14:14:32 +0200
commit8483536dea6e36e9f4a0949ecad0fcaafd62cf54 (patch)
tree4005f101eaac7be6b39e51468b513511fd4049c0 /gdb/doc/gdb.texinfo
parent4689c9b94690b2cd7c3494d31939afea6594ed8b (diff)
downloadbinutils-8483536dea6e36e9f4a0949ecad0fcaafd62cf54.zip
binutils-8483536dea6e36e9f4a0949ecad0fcaafd62cf54.tar.gz
binutils-8483536dea6e36e9f4a0949ecad0fcaafd62cf54.tar.bz2
stringmerge: don't presize hash table
originally the reason for pre-sizing was that that's easier for a multi-threaded use of the hash table. That hasn't materialized yet, so there's not much sense in using the very very conservative estimates for pre-sizing. Doing the resize on-demand, whenever we actually need to add a new entry doesn't change performance. bfd/ merge.c (sec_merge_hash_insert): Resize as needed from here ... (record_section): ... not from here. Don't calculate estimates, return bool instead of three-state, regard all errors as soft errors. (_bfd_merge_sections): Adjust.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
0 files changed, 0 insertions, 0 deletions