Hi All, I'm reading the Clojure documentation and there is something I don't understand about vector functions.
"Vectors support access to items by index in log32N hops" but this seems in contrast with the fact that 'subvec' is O(1) (few lines later). If subvec was O(1), it would be possible to select a sub-vector [i, i +1) (N=1) and then read its only element in O(1). This would be a way to access items by index in O(1). Rich, could you explain that? Thanks a lot! Ciao! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
