On Mon, Nov 15, 2010 at 6:49 PM, Meikel Brandmeyer <m...@kotka.de> wrote: > Changing the above code to the following (which is similarly readable) should > give an immediate speed bump. Rich once stated something around 20%, although > I have not verified the numbers and this was quite a while ago... > > (loop [s (seq some-coll) > o nil] > (if s > (let [f (first s)] > (bla bla bla f bla bla bla) > (recur (next s) (conj o foobar))) > o))
Eh. I'd heard first and rest had replaced next. No? -- 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