[Zope3-dev] zwiki: performance of findChildren()

Tres Seaver tseaver@zope.com
25 Apr 2003 15:12:14 -0400


On Fri, 2003-04-25 at 15:01, Gary Poster wrote:
>=20
>=20
> Roch=E9 Compaan wrote:
> > * Jeremy Hylton <jeremy@zope.com> [2003-04-25 19:50]:
> ...
> >=20
> >=20
> > I think the cardinality of the relationship is important too. If it is
> ...
>=20
> FWIW, There has already been work done by myself and others, based=20
> somewhat on=20
> http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Relation=
shipService
>=20
> I have some better developed interfaces somewhere in a sandbox, and I=20
> think we have an Asymmetric Transitive relationship type that Tres=20
> implemented and improved the interface on that we can use eventually.

The Zope2 service I wrote has both "transitive-asymmetric" relations
(the classic "depenency" relationship) and "intransitive-asymmetric"
(simple associations).  I did work on an equivalence relation
(transitive, symmetric, and reflexive), but found that we had no real
use case for it.

The code is mostly free of Zope2-isms, and should therefore move forward
well as a Zope3 service, once it is disentangled from the current client
project.

> I don't have time to work on this right now, but maybe I will later.  A=20
> number of people want it, and a number of people have ideas and even=20
> code towards it.

Tres.
--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com