[Zope3-checkins] SVN: Zope3/trunk/src/zope/tal/ The lists has been changed to dicts for faster membership testing

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Apr 22 10:46:13 EDT 2005


On Friday 22 April 2005 10:32, Dmitry Vasiliev wrote:
> Old code (with lists):
>
> [29.604110019569525, 29.467640440335295, 29.480704670565679]
>
> New code (with dicts):
>
> [29.188246830253565, 29.027186136785541, 29.018876700809741]

A 1% increase; not bad. Definitely noticable for large apps.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-Checkins mailing list