Stefan Kamphausen <[email protected]> writes: > According to e.g. > > http://nathanmarz.com/blog/fun-with-equality-in-clojure.html > > it's a speed trade-off.
Partly. See Daniel's post where he fixed my contrieved micro-benchmark and showed that testing on Boolean-equality in `if` slows that down about a factor of 20. > Something one can live with, but a wart nevertheless. Well, since even the Boolean JavaDocs say "it is rarely appropriate to use this [the Boolean(boolean)] constructor", I don't think it's worth a slowdown. Bye, Tassilo -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
