What is the most efficient method to check whether an item is in a given group or not? In Python, it seems that set (or frozenset) would be slightly faster than dict and much much faster than list.
Sunday, August 28, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment