As a data container, what are the main differences between vector and list

Viewed 8232

Say we need a list of numbers, there are two definitions:

(def vector1 [1 2 3])
(def list2 '(1 2 3))

So what are the main differences?

4 Answers
Related