Re: [HACKERS] inlining

From: "Vadim B(dot) Mikheev" <vadim(at)sable(dot)krasnoyarsk(dot)su>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] inlining
Date: 1998-01-30 16:19:59
Message-ID: 34D1FDAF.E5BBEA94@sable.krasnoyarsk.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-01-30 17:09:37 Re: Adding rest of SQL Standard
Previous Message Bruce Momjian 1998-01-30 15:59:15 Re: [HACKERS] inlining