From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Jim Blandy Cc: Stan Shebs , gdb-patches@sources.redhat.com Subject: Re: [RFA] Revised C++ ABI abstraction patches Date: Thu, 15 Mar 2001 20:11:00 -0000 Message-id: <3AB1925A.6C69A0D2@cygnus.com> References: <200103151850.KAA30796@bosch.cygnus.com> <5mae6mu8pc.fsf@jtc.redback.com> <3AB14E35.51C4EB1@apple.com> X-SW-Source: 2001-03/msg00275.html Jim Blandy wrote: > > Stan Shebs 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