[Python-Dev] I think my set module is ready for prime time; comments?

Neil Schemenauer nas@arctrix.com
Tue, 23 Jan 2001 05:08:07 -0800


On Tue, Jan 23, 2001 at 02:06:05PM -0500, Christopher Petrilli wrote:
> Unfortunately, for me, a Python implementation of Sets is only
> interesting academicaly.  Any time I've needed to work with them at a
> large scale, I've needed them *much* faster than Python could achieve
> without a C extension.

I think this argues that if sets are added to the core they
should be implemented as an extension type with the speed of
dictionaries and the memory usage of lists.  Basicly, we would
use the implementation of PyDict but drop the values.

  Neil