• Eric Smith's avatar
    Optimization of str.format() for cases with unicode, long, and float · 1d138f1c
    Eric Smith yazdı
    arguments.  This gives about 30% speed improvement for the simplest
    (but most common) cases.  This patch skips the __format__ dispatch, and
    also avoids creating an object to hold the format_spec.
    
    Unfortunately, backporting this to 2.6 is going to be more challenging
    due to str/unicode issues with format_spec.  I'll work on that next.
    
    Then I'll spend some time profiling and see what that tells me.
    1d138f1c
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
INTBENCH Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
RELNOTES Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...