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:
> 
> 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.

Yes.  Perhaphs the task of converting that header into functions should
be declared an ``obvious fix'' :-)

	Andrew


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