pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: pg@fastcrypt.com
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: patch for getXXX methods
Date: Tue, 13 Jul 2004 03:06:30 +1200
Message-ID: <40F2A8F6.8050700@opencloud.com> (raw)
In-Reply-To: <1089643844.1515.337.camel@localhost.localdomain>
References: <1089407362.1508.292.camel@localhost.localdomain>
	<40EF1D5D.2050509@opencloud.com>
	<1089416849.1515.298.camel@localhost.localdomain>
	<40F15718.7000302@opencloud.com>
	<1089577486.1508.316.camel@localhost.localdomain>
	<40F1CF54.1040606@opencloud.com>
	<1089633531.11544.318.camel@localhost.localdomain>
	<40F2A1F5.2000400@opencloud.com>
	<1089643844.1515.337.camel@localhost.localdomain>

Dave Cramer wrote:
> The reason I use the Double.... is because I am assuming it is faster,
> if this is not true, then there is no reason to use your suggestion.

I'd take code clarity over performance benefit -- it's an uncommon case 
and the cost of parsing a BigDecimal is likely to be trivial compared to 
the other work the driver does.

-O



view thread (11+ messages)  latest in thread

Message-ID: <40F2A8F6.8050700@opencloud.com>
Permalink:  ../40F2A8F6.8050700@opencloud.com/
Also on:    postgresql.org/message-id/40F2A8F6.8050700@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, pg@fastcrypt.com
  Subject: Re: patch for getXXX methods
  In-Reply-To: <40F2A8F6.8050700@opencloud.com>
  References: <1089407362.1508.292.camel@localhost.localdomain> <40EF1D5D.2050509@opencloud.com> <1089416849.1515.298.camel@localhost.localdomain> <40F15718.7000302@opencloud.com> <1089577486.1508.316.camel@localhost.localdomain> <40F1CF54.1040606@opencloud.com> <1089633531.11544.318.camel@localhost.localdomain> <40F2A1F5.2000400@opencloud.com> <1089643844.1515.337.camel@localhost.localdomain> <40F2A8F6.8050700@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox