Re: nit-pick optimization for findColumn() - Mailing list pgsql-jdbc

From Peter Speck
Subject Re: nit-pick optimization for findColumn()
Date
Msg-id 238F7CE2-A286-11D7-849C-0030654BB35C@ruc.dk
Whole thread Raw
In response to Re: nit-pick optimization for findColumn()  (Barry Lind <blind@xythos.com>)
List pgsql-jdbc
Hi,

> Have you identified this as being a performance bottleneck in any
> realworld application?

Not in the jdbc driver. I had some code from a previous developer where
I had to eliminate calls to String.equalsIgnoreCase() because it was
inside a tight loop (called more than 310 million times). So my
optimization of the jdbc driver was an automatic reaction. I knew the
oracle 8.1 driver does 2 loops, first one with String.equals(), and
then one with String.equalsIgnoreCase().   So you're right, this
doesn't matter for the jdbc driver.

----
    - Peter Speck


pgsql-jdbc by date:

Previous
From: "zhuj"
Date:
Subject: maxconnection
Next
From: "Rodrigo F. Baroni"
Date:
Subject: Signed Applet : how ? (was: Connect Socket problem)