J
Jordan
I want to store small collections of objects that have a unique id
string:"Name", so I opted to use a Dictionary<string,MyObject>
collection. However, since my collection will rarely exceed 10 or 12
items, would I be better of just using a regular List<MyObject> and
looping through the Names to find an object?
I know it's probably splitting hairs from a performance standpoint,
but I'm curious from a theoretical standpoint.
Jordan
string:"Name", so I opted to use a Dictionary<string,MyObject>
collection. However, since my collection will rarely exceed 10 or 12
items, would I be better of just using a regular List<MyObject> and
looping through the Names to find an object?
I know it's probably splitting hairs from a performance standpoint,
but I'm curious from a theoretical standpoint.
Jordan