Given the two data structures, Array and tuple, which is more complex, creating a new tuple or indexing and assigning a number to a particular index in an array.
For example, given the tuple/array containing x, y.
(0,0),[0,0]
If you want to change the two x, y values, is it quicker to create a new tuple or to index and assign to the array?
(0,1), [0, 1]
does the most efficient data structure change with the length?