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 5555C54636 for ; Thu, 28 Apr 2005 00:51:32 -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 67824-02 for ; Thu, 28 Apr 2005 03:51:29 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by svr1.postgresql.org (Postfix) with ESMTP id 7E6585432F for ; Thu, 28 Apr 2005 00:51:26 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 34so727227nzf for ; Wed, 27 Apr 2005 20:51:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=oYQoA1xQhmqK1Pf5LiLkmLoTvRGvyj+8XALvPYpbjhImMAjSo12NHvZdcT6x/Hy7V1sC5afbofCDY97EXdE0q1EF9xlMCzTViWE0T5exsT13u2BdxuIBhP3bfYzutn/zqOr6A/6uUC921eTefgmZqx43dbXQl8GitPBOSsQwh8s= Received: by 10.36.9.6 with SMTP id 6mr78859nzi; Wed, 27 Apr 2005 20:51:26 -0700 (PDT) Received: by 10.36.60.12 with HTTP; Wed, 27 Apr 2005 20:51:26 -0700 (PDT) Message-ID: Date: Thu, 28 Apr 2005 09:21:26 +0530 From: Gnanavel S Reply-To: Gnanavel S To: pgsql-jdbc@postgresql.org Subject: Performance of loop Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8477_10953024.1114660286588" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.903 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_20_30, HTML_MESSAGE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200504/185 X-Sequence-Number: 12792 ------=_Part_8477_10953024.1114660286588 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I would like to thank the postgresql team for providing this wonderful=20 product.=20 Coming to the point, in postgresql jdbc driver coding, I saw many=20 inefficient "for" loops. For eg in V2Query.class file While parsing the parameterized query, there is a "for" loop as this=20 for (int i =3D 0; i < query.length(); ++i) ------=_Part_8477_10953024.1114660286588 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,
  I would like to thank the postgresql team for providing this wonderf= ul product.

  Coming to the point, in postgresql jdbc driver coding, I saw many in= efficient "for" loops. For eg in V2Query.class file
 While parsing the parameterized query, there is a "for" loo= p as this
 
for (int i =3D 0; i < query.length(); ++i)



------=_Part_8477_10953024.1114660286588--