Re: clojure.contrib.base64

2011-10-11 Thread Rok Lenarcic
What about compared to the library I listed in the OP? On Oct 10, 8:37 pm, Alexander Taggart m...@ataggart.ca wrote: I see about a 50% increased throughput over apache commons-codec as well.  I use the perf-base64 ns generate input data and output timing files to keep track of changes to the

clojure.contrib.base64

2011-10-06 Thread Rok Lenarcic
I use Base64 encoding a lot and the slow implementation is hurting a lot. It's slower than Sun misc encoder/decoder and that one is very very slow. I was using Sun's implementation a bit and it took 80 seconds to encode a 56 MB file. Then I found this: http://migbase64.sourceforge.net/ It loaded

Re: Exception handling changes in Clojure 1.3.0

2011-10-06 Thread Rok Lenarcic
On Oct 3, 9:27 pm, Stuart Halloway stuart.hallo...@gmail.com wrote: Catching checked exceptions seems to work fine. Try e.g. (try (throw (java.io.IOException.)) (catch java.io.IOException _ caught!)) I suspect something else is going wrong in the GAE example. Can you narrow the code down

Re: clojure.contrib.base64

2011-10-06 Thread Rok Lenarcic
Sure, I can use that file. This DIY attitude doesn't benefit the beginners. I can add and use that java, but 90% of clojure users will use the clojure contrib function and 9% will use faster sun encoder, because people don't know that Sun's implementations are slow and that better ones are