I am working through some Lips exercises using Clojure. If I were to convert Lisp lists to Clojure vectors, solving some of the problems would be simpler, so here is my question:
Does using vec or vector cost a lot in terms of time and/or processing? Does using either function cause a meta state change, or are the values converted and moved to a vector?

vecorvectorbut should instead prefer the genericseqoperations.vecandvectoractually build a vector which costs time and space. For example problem 1 asks you to write thelastfunction. Since the corelastfunction only uses the seq operations I can quickly do(last (range 10000000))on my machine but doing(last (vec (range 10000000)))waits a minute and then gives me an OutOfMemoryError – WuHoUnited Oct 7 '12 at 3:48