This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [RFA] Revised C++ ABI abstraction patches


Jim Blandy wrote:
> 
> [...] stuff like partial-stab.h, where
> someone put 25k of code in a header file, which gets #included into
> two different .c files, to save function call overhead.  Good call.

Ah, youth... Once upon a time, when machines were much slower and
compilers did less optimization, the partial-stab.h trick was an
important speedup for psymtab reading.  It's quite possible that it
no longer matters, although I would suggest running some experiments
before acting on that assumption!  (GCC is 25x(!) slower than Metrowerks
because people add code to it without thinking much about the effect on
compile time.)

Stan


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