How to represent sets

James J. Besemer jb at cascade-sys.com
Sun Sep 15 03:31:48 EDT 2002


Anton Vredegoor wrote:

>I would like to reopen this discussion.
>
I think BOTH approaches deserve to be in the library.

For dense sets isomorphic with integers, the long integer implementation 
probably will be superior.

For other, more general applications the dictionary approach may be better.

Which is "better" is not a blanket decision we can make in advance.

Include them both and let the user decide.

--jb

-- 
James J. Besemer		503-280-0838 voice
2727 NE Skidmore St.		503-280-0375 fax
Portland, Oregon 97211-6557	mailto:jb at cascade-sys.com
				http://cascade-sys.com	








More information about the Python-list mailing list