X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2EFACD1B23C for ; Mon, 12 Jul 2004 12:07:10 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88093-04 for ; Mon, 12 Jul 2004 15:07:06 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 57F2CD1B1DC for ; Mon, 12 Jul 2004 12:07:05 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1Bk2OU-0004lQ-00; Tue, 13 Jul 2004 03:07:02 +1200 Message-ID: <40F2A8F6.8050700@opencloud.com> Date: Tue, 13 Jul 2004 03:06:30 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pg@fastcrypt.com Cc: "pgsql-jdbc@postgresql.org" Subject: Re: patch for getXXX methods 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> In-Reply-To: <1089643844.1515.337.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200407/111 X-Sequence-Number: 10495 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