Execution speed question

Sion Arrowsmith siona at chiark.greenend.org.uk
Mon Jul 28 10:00:23 EDT 2008


Suresh Pillai  <stochashtic at yahoo.ca> wrote:
> [ ... ] is
>there any way to iterate over the items in a set other than converting to 
>a list or using the pop() method.

Er, how about directly iterating over the set?

-- 
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
   "Frankly I have no feelings towards penguins one way or the other"
        -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump



More information about the Python-list mailing list