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
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
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
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