Re: int8/float8/time/timestamp[tz]/float4 passed by value, was Re: Fix HAVE_LONG[_LONG]_INT_64 to really define to 1

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: int8/float8/time/timestamp[tz]/float4 passed by value, was Re: Fix HAVE_LONG[_LONG]_INT_64 to really define to 1
Дата
Msg-id 87prtjohf5.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на int8/float8/time/timestamp[tz]/float4 passed by value, was Re: Fix HAVE_LONG[_LONG]_INT_64 to really define to 1  (Zoltan Boszormenyi <zb@cybertec.at>)
Ответы Re: int8/float8/time/timestamp[tz]/float4 passed by value, was Re: Fix HAVE_LONG[_LONG]_INT_64 to really define to 1
Список pgsql-patches
"Zoltan Boszormenyi" <zb@cybertec.at> writes:

> - the int8inc(), int2_sum() and int4_sum() used pointers directly from the
> Datums
>  for performance, that code path is now commented out, the other code path
>  is correct for the AggState and !AggState runs and correct every time and now
>  because of the passbyval nature of int8, the !AggState version is not slower
>  than using the pointer directly.

Does this mean count() and sum() are slower on a 32-bit machine?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training!

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: script binaries renaming
Следующее
От: Zoltan Boszormenyi
Дата:
Сообщение: Re: int8/float8/time/timestamp[tz]/float4 passed by value, was Re: Fix HAVE_LONG[_LONG]_INT_64 to really define to 1