Re: [Zope-dev] z3c.form missing *.mo files?

2011-07-14 Thread Michael Howitz
Am 12.07.2011 um 18:19 schrieb Marius Gedminas: On Tue, Jul 12, 2011 at 03:07:47PM +0200, Michael Howitz wrote: There where never .mo files in z3c.form's sdist. That appears not to be the case: http://pypi.python.org/pypi/z3c.form/2.4.3 has a source distribution (z3c.form-2.4.3.zip) which

Re: [Zope-dev] SVN: Zope/trunk/ Optimized the `OFS.Traversable.getPhysicalPath` method to avoid excessive amounts of method calls. Thx to Nikolay Kim from Enfold

2011-07-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/2011 04:16 AM, Hanno Schlichting wrote: Log message for revision 122213: Optimized the `OFS.Traversable.getPhysicalPath` method to avoid excessive amounts of method calls. Thx to Nikolay Kim from Enfold Changed: U

Re: [Zope-dev] SVN: Zope/trunk/ Optimized the `OFS.Traversable.getPhysicalPath` method to avoid excessive amounts of method calls. Thx to Nikolay Kim from Enfold

2011-07-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/2011 11:47 AM, Tres Seaver wrote: While we're at it, 'list.insert(0,foo)' is known to be slower in a tight loop than 'list.append(foo)', with a 'reversed' at the end of the loop:: $ python -m timeit -s from string import letters path =

Re: [Zope-dev] SVN: Zope/trunk/ Optimized the `OFS.Traversable.getPhysicalPath` method to avoid excessive amounts of method calls. Thx to Nikolay Kim from Enfold

2011-07-14 Thread Hanno Schlichting
On Thu, Jul 14, 2011 at 7:03 PM, Tres Seaver tsea...@palladion.com wrote: A further micro-optimization is to pre-allocate a big list in a thread local.  Running the attached script produces::  $ python perftest.py  Via insert_0: 24.8401839733  Via append: 15.6596238613   speedup: 37.0%  

[Zope-dev] zope-tests - FAILED: 5, OK: 109

2011-07-14 Thread Zope tests summarizer
This is the summary for test reports received on the zope-tests list between 2011-07-13 00:00:00 UTC and 2011-07-14 00:00:00 UTC: See the footnotes for test reports of unsuccessful builds. An up-to date view of the builders is also available in our buildbot documentation: