This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: Note on choosing string hash functions


On 11/28/2017 03:13 PM, Dmitry Antipov wrote:
> On 11/28/2017 03:00 PM, Pedro Alves wrote:
> 
>> Anyway, this is just a brain dump from a little investigation I did
>> this past
>> weekend, and I think that this area has a lot of scope for
>> improvements, but
>> I won't be able to follow up on any of this myself in the next following
>> weeks at least, with several gdb 8.1 issues on my platе.
> 
> Just for the record, I have a brain dump around this area too :-).
> Instead of
> optimizing htab_hash_string itself, we can try to reduce number of calls
> (and
> drop a few calls to strcmp as well if lucky):

Oh, that does sound like a good idea indeed.

Thanks,
Pedro Alves


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