Daniel Solano Gómez <cloj...@sattvik.com> writes: > Unfortunately, your methodology is flawed. The overhead of iterating > through a list and converting the ints into objects is obscuring the > perfomance difference between the two.
Well, yes, it was a quick shot. > Running a modified version of the code (attached) using an > instrumenting profiler shows that the version that checks for the > Boolean instance is about 6% slower than the version that does not. There's nothing attached. ;-) > In any case, these are somewhat meaningless micro-benchmarks. > Ultimately, whether or not Clojure’s if should handle (Boolean. false) > is more of a design/philosophical question. I think, the java-is-not-the-only-JVM-language-one-might-interop-with argument is the best for explaining and supporting the status quo. Bye, Tassilo -- 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