Alan, I'm with you on this one.  Reflection is so much slower that sometimes 
I wish clojure had a different syntax for reflective method invocation. For 
example:

1) Make reflection an automatic error (not even a warning), and
2) Use another syntax (let's say double-dot, for the sake of argument) to 
mean "I'm OK with this being done via reflection."

(.foo bar)  => error
(.foo ^SomeType bar) => fast
(..foo bar) => probably slow

Of course, something this fundamental is unlikely to change, so I guess I 
should just get used to setting *warn-on-reflection* :)

- 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