Re: New version of money type
| От | D'Arcy J.M. Cain |
|---|---|
| Тема | Re: New version of money type |
| Дата | |
| Msg-id | 20060915123537.2579c449.darcy@druid.net обсуждение |
| Ответ на | Re: New version of money type (Andrew - Supernews <andrew+nonews@supernews.com>) |
| Список | pgsql-hackers |
On Fri, 15 Sep 2006 16:15:24 -0000 Andrew - Supernews <andrew+nonews@supernews.com> wrote: > On 2006-09-15, Alvaro Herrera <alvherre@commandprompt.com> wrote: > > Andrew - Supernews wrote: > >> Numbers from an actual benchmark: > >> > >> int4out(0) - 0.42us/call > >> numeric_out(0) - 0.32us/call > >> > >> int4out(1000000000) - 0.67us/call > >> numeric_out(1000000000) - 0.42us/call > > > > Is this really int4out, or is it int8out? > > int4out. int8out is slower. int8out is probably a better comparison since it is the same range. -- D'Arcy J.M. Cain <darcy@druid.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
В списке pgsql-hackers по дате отправления: