The docstring should also be changed by replacing "seq" with
"collection".

On Jul 27, 12:39 pm, Mark Engelberg <[email protected]> wrote:
> Yeah, but this case is different because nth is much faster if the
> input is a vector, and calling seq on the input will actually degrade
> the performance for vector inputs.
>
> Maybe you could test for vectorness, and call seq otherwise.
--~--~---------~--~----~------------~-------~--~----~
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