[RFA] Revised C++ ABI abstraction patches

Jim Blandy jimb@zwingli.cygnus.com
Thu Mar 15 17:54:00 GMT 2001


Stan Shebs <shebs@apple.com> writes:
> 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.

Well, it's kind of dumb to second-guess experiences other people had
fifteen years ago, but still, I double-doubt this.  There's too much
other processing going on in that file --- as I've said, I've stepped
through it many a time --- for the function call overhead to be the
real issue.



More information about the Gdb-patches mailing list