Re: [Python-Dev] Is there any fun with benchmarks

2011-06-22 Thread Maciej Fijalkowski
On Wed, Jun 22, 2011 at 3:24 PM, Nick Coghlan wrote: > On Wed, Jun 22, 2011 at 10:47 PM, anatoly techtonik > wrote: >> I wonder if upcoming speed.python.org has any means to validate these >> claims for different Python releases? >> Is there any place where I can upload my two to compare perform

Re: [Python-Dev] Is there any fun with benchmarks

2011-06-22 Thread Nick Coghlan
On Wed, Jun 22, 2011 at 10:47 PM, anatoly techtonik wrote: > I wonder if upcoming speed.python.org has any means to validate these > claims for different Python releases? > Is there any place where I can upload my two to compare performance? > Are there any instructions how to create such snippets

Re: [Python-Dev] Is there any fun with benchmarks

2011-06-22 Thread Paul Moore
On 22 June 2011 13:47, anatoly techtonik wrote: > I run across a snippet in SCons.Util (don't worry, I've double-checked > To: field) that claims it is faster than os.path.splitext() while > basically doing the same thing. Actually, it doesn't do the same thing. Doesn't handle files like .profile

[Python-Dev] Is there any fun with benchmarks

2011-06-22 Thread anatoly techtonik
I run across a snippet in SCons.Util (don't worry, I've double-checked To: field) that claims it is faster than os.path.splitext() while basically doing the same thing. def splitext(path): "Same as os.path.splitext() but faster." sep = rightmost_separator(path, os.sep) dot = path.rfind