Re: GiST penalty functions [PoC]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GiST penalty functions [PoC]
Дата
Msg-id 20302.1472734029@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GiST penalty functions [PoC]  (Andrew Borodin <borodin@octonica.com>)
Ответы Re: GiST penalty functions [PoC]  (Andrew Borodin <borodin@octonica.com>)
Список pgsql-hackers
Andrew Borodin <borodin@octonica.com> writes:
> Does every supported Postgres platform conforms to IEEE 754 floating
> point specification?

Possibly, but it is against project policy to allow code to assume so.
That pack_float function is absolutely not acceptable IMV, and would
still be if it were adequately documented, which it's far away from
being.

On general grounds, I would forget all the "inline"s.  Modern compilers
are generally able to make their own decisions about it, and trying to put
your thumb on the scales this heavily is not likely to improve the code.

Haven't really read the patch, just responding to a couple points you
mentioned in the intro.
        regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pg_basebackup stream xlog to tar
Следующее
От: Andrew Borodin
Дата:
Сообщение: Re: GiST penalty functions [PoC]