Tangentially: In this particular case, reflection isn't strictly necessary 
because toString is a method of Object. In theory, the compiler could 
special-case Object's methods and never do reflection, right?

In practice, I don't know if it's worth the effort, although it's certainly 
a little surprising that (.toString thing) can be 100 times slower than (str 
thing), at least until you know what's going on there.

- Chris

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