[ZODB-Dev] Ordering before commit hooks
Julien Anguenot
ja at nuxeo.com
Mon Aug 29 08:21:51 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim Peters wrote:
> [Tim]
>
>>>...
>>>It's tricky to implement this in a way that scales efficiently to
>>>a "large number" of hooks. I assume that's not a problem, because
>>>the current implementation doesn't scale efficiently either (it's
>>>quadratic-time in the number of hooks), and nobody has complained
>>>about that.
>
>
> [Julien]
>
>>It's not currently a problem for us with CPS.
>
>
> Julien, what's the maximum number of hooks you register in a transaction?
For the moment two (2). But we will use more in the future. (we have
already plans for others)
> It's the "currently" in "not currently a problem" that isn't warm and fuzzy
> enough ;-)
;)
I ment the optimizations is not a YAGNI yet for us.
J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFDEv3fGhoG8MxZ/pIRAmHbAJ46uzIdqqHyeQKIVGBvbdd1Rc0tAwCfeAxl
Vg+RgRq5CWJekxv+lg3Puss=
=oV1O
-----END PGP SIGNATURE-----
More information about the ZODB-Dev
mailing list