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

前端 未结 0 489
庸人自扰
庸人自扰 2021-02-12 04:57

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?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题