Re: [HACKERS] pow support for pgbench

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] pow support for pgbench
Дата
Msg-id CA+Tgmobs3qw1mos9AaDA4hD3_n8hm-XaVyVYYYyyGENJXzmrYw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pow support for pgbench  (Raúl Marín Rodríguez <rmrodriguez@carto.com>)
Список pgsql-hackers
On Tue, Dec 26, 2017 at 4:45 PM, Raúl Marín Rodríguez
<rmrodriguez@carto.com> wrote:
> I've implemented the overflow checks and made some benchmarks and the ipow()
> version became slower except with some specific inputs (base 0 for example).
> It's true that the new auxiliary functions could be optimized, but I don't
> think it makes sense to keep working on them just to match pow() speed.
>
> I'm attaching both patches in case someone wants to have a look but I would
> go with the simpler solution (pgbench_pow_v10.patch).

Committed the simpler solution after fixing it so that it compiles.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Converting plpgsql to use DTYPE_REC for named composite types
Следующее
От: Robert Haas
Дата:
Сообщение: Re: How to Works with Centos