On Tue, Aug 9, 2011 at 9:39 AM, Shoeb Bhinderwala <
shoeb.bhinderw...@gmail.com> wrote:

> With these options added the Clojure code runs just about as fast as
> Java. I set the fetch size to 1000 for both of them.
>
> Average run times to load 69,000 records:
>
>  Java = 2.67 seconds
>  Clojure = 2.72 seconds
>

Nice! Makes me even more glad I added that stuff to clojure.java.jdbc (and
Shantanu was the one pressing hardest for that sort of capability :)

Right now you can only control the PreparedStatement / ResultSet in
with-query-results. I haven't figured out a clean way to add such control to
other functions, but I suspect the other functions are not such a critical
path (unless you're doing mass updates or inserts I suppose).
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to