Lists, tuples and memory.
Christopher T King
squirrel at WPI.EDU
Sat Jul 17 06:43:35 CEST 2004
On Fri, 16 Jul 2004, David Eppstein wrote:
> In article <Pine.LNX.4.44.0407161419040.20713-100000 at ccc7.wpi.edu>,
> Christopher T King <squirrel at WPI.EDU> wrote:
> > Ick. I thought part of the reason Set was created (aside from enabling
> > set operations) was to improve on the dict() storage method.
> What alternative storage method did you have in mind that would be as
> efficient and that would allow the same types of objects to be collected
> into sets?
One that didn't have to store a pointer to None for every single item :/
More information about the Python-list