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

Jim Blandy
2001-03-15T17:54:00Z

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.