On Sun, Sep 23, 2012 at 3:59 AM, Mikera <mike.r.anderson...@gmail.com> wrote:
> Looks cool - going to try it out in a couple of my projects, thanks!
>
> Question - assuming this is pretty lightweight and efficient, would it also
> make sense to use it from Clojure in circumstances where you just want edn
> and don't need the full Clojure reader?

I suppose it might, if you really need the performance. I've compared
the performance slurping in large (10+ MB) files containing a long
series of maps and found edn-java to be about twice as fast as
Clojure's LispReader. (I can only speculate as to why.)

On the other hand, using clojure.core/read is far more idiomatic when
calling from Clojure and doesn't require an additional dependency.

// Ben

-- 
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