question about expand_symtabs_matching()
Tom Tromey
tom@tromey.com
Fri Mar 8 21:13:00 GMT 2019
>>>>> "Hannes" == Hannes Domani via gdb <gdb@sourceware.org> writes:
Hannes> For the case of 'b some_function', with the application I'm testing:
Hannes> - startup time with the call of cp_canonicalize_string_no_typedefs(): 1m 25s
Hannes> - startup time without this call: 27s
Wow.
Hannes> In my personal build I've changed this:
Hannes> - only call cp_canonicalize_string_no_typedefs() if it's not a simple function
Hannes> name (like 'function_name' or 'Class::member_function')
Hannes> - only call expand_symtabs_matching() if the lookup_name doesn't contain a '.'
Hannes> I admit that I don't fully understand what could break with these changes,
Hannes> but the speedup makes it worth for me right now.
Could you send the diff?
thanks,
Tom
More information about the Gdb
mailing list