Arc Forumnew | comments | leaders | submitlogin
Does arc have a vector data type?
2 points by pillsy 6134 days ago | 3 comments
I've just started playing around with it, and didn't see one mentioned in the tutorial, and grepping everything in the arc0 directory didn't turn up anything promising.


2 points by byronsalty 6134 days ago | link

In Arc you would just use a list, I believe. What type of things would you like to do with a vector? If you give some code examples I'm sure someone will translate into Arc.

-----

1 point by xTERM 6132 days ago | link

Vectors are very useful when accessing random positions in array. Lists are very inefficient for this because they need O(n) operations to access one item, whereas vectors only O(1).

-----

3 points by pg 6134 days ago | link

Not yet.

-----