Re: Re: Abbreviated keys for Numeric

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Re: Abbreviated keys for Numeric
Дата
Msg-id CAM3SWZQ5V7H=GTq5emBqCMZ=31AKtaJpxKNX2gnuwCYUVFSFrQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Re: Abbreviated keys for Numeric  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: Re: Abbreviated keys for Numeric  (Andres Freund <andres@2ndquadrant.com>)
Re: Re: Abbreviated keys for Numeric  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-hackers
On Mon, Jan 26, 2015 at 3:12 PM, Andrew Gierth
<andrew@tao11.riddles.org.uk> wrote:
> Obvious overheads in float8 comparison include having to check for NaN,
> and the fact that DatumGetFloat8 on 64bit doesn't get inlined and forces
> a store/load to memory rather than just using a register. Looking at
> those might be more beneficial than messing with abbreviations.

Aren't there issues with the alignment of double precision floating
point numbers on x86, too? Maybe my information there is at least
partially obsolete. But it seems we'd have to control for this to be
sure.

I am not seriously suggesting pursuing abbreviation for float8 in the
near term - numeric is clearly what we should concentrate on. It's
interesting that abbreviation of float8 could potentially make sense,
though.
-- 
Peter Geoghegan



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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: Re: Abbreviated keys for Numeric
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Re: Abbreviated keys for Numeric