[Zope-CMF] Re: Old backward compat in TypesTool
Tres Seaver
tseaver at palladion.com
Wed Nov 16 08:30:20 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Florent Guillaume wrote:
> CMF 1.5.4 (and trunk) has in TypesTool.allowType some backward compat
> code added a long time ago when allowed_content_types was fixed to
> compare to the TI id and not its title.
>
> Unless there's opposition, I'll remove this code as it adds an
> additional useless loop over all content types, which makes
> PortalFolder.allowedContentTypes have quadratic behavior in the number
> of types defined and slows it down a lot.
>
+1 for all current branches.
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDezRs+gerLs4ltQ4RAt4DAKCAaNu7ZXejJGlGSOXlqLzXVDIRJACglcMX
o2JTls2uoaUp2U63WrWYIxc=
=npa/
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list