Re: [HACKERS] inlining

Поиск
Список
Период
Сортировка
От Vadim B. Mikheev
Тема Re: [HACKERS] inlining
Дата
Msg-id 34D178F8.946D669D@sable.krasnoyarsk.su
обсуждение исходный текст
Ответ на inlining  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] inlining  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] inlining  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] inlining  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
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.

I suggest to inline _entire_ body of this func in the
execQual.c:ExecEvalVar() - Executor uses _only_ ExecEvalVar() to get
data from tuples.

(We could #define FASTGETATTR macro and re-write fastgetattr() as just
this macro "call".)

I don't know should we follow the same way for fastgetiattr() or not...

Vadim

В списке pgsql-hackers по дате отправления:

Предыдущее
От: teunis
Дата:
Сообщение: CVS tonight (10pm MST)
Следующее
От: "Vadim B. Mikheev"
Дата:
Сообщение: Re: [HACKERS] inlining