"Kamilche" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > arcane code' crowd. Sets - when I played with them, they were slower > than doing the equivalent code with dicts. It's got to be a reliable, > compelling feature, before I'll add it to my arsenal.
In 2.3, sets was, I believe, a module written in Python on top of the dict type. In 2.4, set() is a builtin type written in C adapting the C code of dicts but without the overhead of values, and with set rather than dict oriented methods. tjr -- http://mail.python.org/mailman/listinfo/python-list