-----BEGIN PGP SIGNED MESSAGE-----
On 11/02/2010 01:14 PM, Pedro Ferreira wrote:
>> OOSets are ordered.
> Yes, I know. My problem was that I wanted to order the elements by
> timestamp, and I didn't want to wrap anything around them just to have
> them ordered. But I think that in the end that's what I will do... or
> just make them comparable by timestamp.
One alternative would be to store them as a tuple, (timestamp, object),
which should be super-cheap, and still allow for "normal" comparisons of
your domain objects.
Tres Seaver +1 540-429-0999 tsea...@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org