hm. i copied and pasted the examples from the transient page into a local test.clj, and i don't really see a significant performance difference (it should be an order of magnitude according to the web page). macbook pro. just downloaded sources and built clojure-1.1.0-alpha-SNAPSHOT.jar for this. is there something about having to have the jit warm up or something over a zillion runs?
help? :-) user=> (load-file "/tmp/test.clj") #'user/vrange2 user=> (time (def v2 (vrange2 1000000))) "Elapsed time: 502.842 msecs" #'user/v2 user=> (time (def v2 (vrange2 1000000))) "Elapsed time: 407.568 msecs" #'user/v2 user=> (time (def v2 (vrange2 1000000))) "Elapsed time: 364.29 msecs" #'user/v2 user=> (time (def v (vrange 1000000))) "Elapsed time: 558.235 msecs" user=> (. System getProperty "java.version") "1.5.0_20" -- 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