On Oct 3, 4:42 pm, Rich Hickey <[EMAIL PROTECTED]> wrote: > On Oct 3, 10:12 am, Cesare <[EMAIL PROTECTED]> wrote: > Subvectors can be created in constant time because they copy nothing > and share structure with the original. So, they are effectively views > on the original vector, and share its access times. No magic here, > sorry :)
mmm... so access by index for a sub-vector causes the same number of hops than the super-vector, right? This means that it's O(log32N) if the vector is not created using subvect, otherwise N is the length of the super-vector, not the vector itself. Am I right? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---