I switched to clojure.java.jdbc. Found no difference at all. It is still about 10 times slower than java.
On Aug 6, 8:54 pm, Sean Corfield <seancorfi...@gmail.com> wrote: > On Sat, Aug 6, 2011 at 4:51 PM, Shoeb Bhinderwala < > > shoeb.bhinderw...@gmail.com> wrote: > > In one test case, I loaded 69,099 records. The Java code took 5 > > seconds to execute the query and create as many objects. Clojure code > > took 50.43 seconds. > > Try using clojure.java.jdbc instead of clojure.contrib.sql. c.j.j is the > maintained version of c.c.sql and has had a number of enhancements such as > removing all the Java reflection that was being done. > -- > 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