13 Apr
2016
13 Apr
'16
1:42 a.m.
Guido van Rossum wrote:
The problem with your version is that copying the input is slow if it is large.
Maybe sets should have a method that returns an indexable view? The order could be defined as equivalent to iteration order, and it would allow things like random.choice to work efficiently on sets. -- Greg