On Mon, Oct 19, 2009 at 4:05 PM, Danny Woods <[email protected]> wrote:

> The only thing that I can see that would speed up set-flags would be to not
> take the length of the vector on every iteration: I suspect that may involve
> a traversal of the vector every time it's called.
>

With an abstract list/seq that would be true but vectors have an efficient
count operation. Maps and sets may have as well.

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

Reply via email to