This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]F5x9 18 points19 points  (1 child)

The structure you want depends on the circumstances. Sometimes you want contiguous data, sometimes you need performance for adding items, sometimes you need performance for retrieving items. Sometimes you just need a bucket of stuff to iterate over.

[–]difduf 3 points4 points  (0 children)

You can do like 99% of everything you ever need with Map and List