finding items that occur more than once in a list

sturlamolden sturlamolden at yahoo.no
Wed Mar 19 21:03:24 EDT 2008


On 20 Mar, 00:16, John Machin <sjmac... at lexicon.net> wrote:

> What don't you understand about the comments in the first two
> screenfuls of Objects/setobject.c?

I had not looked at it, but now I have. Is seems Hettinger is the
author :) Ok, so sets are implemented as hash tables. Then I agree,
use Raymond Hettinger's solution.





More information about the Python-list mailing list