First: Thanks all for your thoughts.

Second: I have the same question as Allen (why would the doseq variant
be faster in this case?)

Finally: so I guess that what I did was also OK then?

Jm

On Jan 20, 9:57 pm, Alan Malloy <a...@malloys.org> wrote:
> But I don't see any reason why this would be faster than (dorun (map
> side-effect-fn s1 s2 s3)). You're creating and then dismantling a
> three-element vector at every iteration to no purpose.
>
> On Jan 20, 12:40 pm, Meikel Brandmeyer <m...@kotka.de> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > to add to Lars answer:
>
> > (doseq [[a b c] (map vector s1 s2 s3)]
> >   (side-effect-fn a b c))
>
> > This should do the trick.
>
> > Sincerely
> > Meikel

-- 
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