Re: [HACKERS] inlining

Vadim B. Mikheev <vadim@sable.krasnoyarsk.su>

From: "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: hackers@postgreSQL.org
Date: 1998-01-30T16:19:59Z
Lists: pgsql-hackers
Bruce Momjian wrote:
> 
> >
> > Bruce Momjian wrote:
> > >
> > > Let me add, I am not inlining all the functions, but only the top part
> > > of them that deals with cachoffsets and nulls.  These are the easy ones,
> > > and the ones that get used most often.
> >
> > fastgetattr() is called from a HUNDREDS places - I'm not sure that
> > this is good idea.
> 
> Here is the fastgetattr macro.  Again, I just inlined the cacheoffset
> and null handlling at the top.  Doesn't look like much code, though the
> ?: macro format makes it look larger.  What do you think?

Try to gmake clean and gmake... Please compare old/new sizes for
debug version too.

Vadim