Re: [HACKERS] inlining - Mailing list pgsql-hackers

From Vadim B. Mikheev
Subject Re: [HACKERS] inlining
Date
Msg-id 34D1FDAF.E5BBEA94@sable.krasnoyarsk.su
Whole thread Raw
In response to Re: [HACKERS] inlining  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] inlining
List 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

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] inlining
Next
From: Bruce Momjian
Date:
Subject: Re: Adding rest of SQL Standard