Re: [RFA 08/15] Remove readin and compunit_symtab fields from psymtab

Tom Tromey
2018-10-08T00:01:23Z

>>>>> "Simon" == Simon Marchi <simark@simark.ca> writes:

>> I ran the gdb.perf tests and on some tests, it seems that the results
>> are within the noise; but on backtrace (2048) and skip-function-3000 (4000)
>> gdb is about 4% slower. I don't know if this is enough to worry about.

Simon> That sounds like a reasonable trade-off in exchange for the feature of decoupling
Simon> psymtabs from objfiles. Perhaps we can put it on the list of "candidates for htab_t"
Simon> (could be a comment next to the field), for when we finally bring the C++ wrappers
Simon> from gcc :).

Just to be clear, 4% was the slowdown after I switched it to htab_t.

Tom