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: question about expand_symtabs_matching()


>>>>> "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


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