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 7060CD1B1DA for ; Mon, 12 Jul 2004 12:14:06 -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 91248-07 for ; Mon, 12 Jul 2004 15:14:04 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 96F4ED1B1A5 for ; Mon, 12 Jul 2004 12:14:02 -0300 (ADT) Received: (qmail 2203 invoked from network); 12 Jul 2004 15:13:59 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 12 Jul 2004 15:13:59 -0000 Subject: Re: patch for getXXX methods From: Dave Cramer Reply-To: pg@fastcrypt.com To: Oliver Jowett Cc: "pgsql-jdbc@postgresql.org" 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> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1089645262.3645.339.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 12 Jul 2004 11:14:23 -0400 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/112 X-Sequence-Number: 10496 Ok, I'll buy that argument. --dc-- On Mon, 2004-07-12 at 11:06, Oliver Jowett wrote: > 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 > > > > !DSPAM:40f2a91b11386775011984! > > -- Dave Cramer 519 939 0336 ICQ # 14675561