From: | "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net> |
---|---|
To: | andrew(at)supernews(dot)com |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: New version of money type |
Date: | 2006-09-15 16:35:37 |
Message-ID: | 20060915123537.2579c449.darcy@druid.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, 15 Sep 2006 16:15:24 -0000
Andrew - Supernews <andrew+nonews(at)supernews(dot)com> wrote:
> On 2006-09-15, Alvaro Herrera <alvherre(at)commandprompt(dot)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(at)druid(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2006-09-15 16:38:59 | One of our own begins a new life |
Previous Message | Douglas McNaught | 2006-09-15 16:33:19 | Re: Fwd: polite request about syntax |