Re: New version of money type - Mailing list pgsql-hackers

From D'Arcy J.M. Cain
Subject Re: New version of money type
Date
Msg-id 20060915123537.2579c449.darcy@druid.net
Whole thread Raw
In response to Re: New version of money type  (Andrew - Supernews <andrew+nonews@supernews.com>)
List 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 by date:

Previous
From: Douglas McNaught
Date:
Subject: Re: Fwd: polite request about syntax
Next
From: "Joshua D. Drake"
Date:
Subject: One of our own begins a new life