Vladimir

11%
Flag icon
Membership testing is very efficient. A set may have millions of elements, but an element can be located directly by computing its hash code and deriving an index offset, with the possible overhead of a small number of tries to find a matching element or exhaust the search.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview