Re: CPU costs of random_zipfian in pgbench

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: CPU costs of random_zipfian in pgbench
Дата
Msg-id alpine.DEB.2.21.1904032126060.7997@lancre
обсуждение исходный текст
Ответ на Re: CPU costs of random_zipfian in pgbench  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: CPU costs of random_zipfian in pgbench  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Ah, so we now we can get rid of the TState * being passed around
> separately for expression execution, too?

Indeed.

I would have thought that the compiler would have warned if it is unused, 
but because of the recursion it is uselessly used.

Ok, maybe the sentence above is not very clear. Attached a patch which 
simplifies further.

-- 
Fabien.
Вложения

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

Предыдущее
От: Jesper Pedersen
Дата:
Сообщение: Re: partitioned tables referenced by FKs
Следующее
От: Andres Freund
Дата:
Сообщение: Re: shared-memory based stats collector