On 02/ 2/10 05:44 PM, Brock Pytlik wrote:
Mark J. Nelson wrote:
Why maintain multiple values as lists in the first place? A set would
seem like a more natural representation.
I'm not suggesting that change as part of this fix, I'm just curious
if this is by intention, or just because it started that way.
...
Memory I suspect. Lists use substantially less memory than sets or
dictionaries, and when dealing w/ the number of actions we have, it
makes a noticeable difference.
Sets also aren't indexable, which I believe we take advantage of in some
places.
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss