suppose i'm going to have a data structure like this:
[
[imgFullPath,(wi dth, height)],
[imgFullPath,(wi dth, height)],
[imgFullPath,(wi dth, height)],
[imgFullPath,(wi dth, height)],
....
]
should i use (width,height) or [width,height]?
what advantage i get to use n-tuple instead of the generic list?
Thanks.
Xah
xah@xahlee.org
∑ http://xahlee.org/
[
[imgFullPath,(wi dth, height)],
[imgFullPath,(wi dth, height)],
[imgFullPath,(wi dth, height)],
[imgFullPath,(wi dth, height)],
....
]
should i use (width,height) or [width,height]?
what advantage i get to use n-tuple instead of the generic list?
Thanks.
Xah
xah@xahlee.org
∑ http://xahlee.org/
Comment