• Eric Smith's avatar
    Backport of r63826. · e5bdccc7
    Eric Smith yazdı
    Optimization of str.format() for cases with str, unicode, int, long,
    and float 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 there's a complication in 2.6 with int, long, and float
    because they always expect str format_specs.  So in the unicode
    version of this optimization, just check for unicode objects.  int,
    float, long, and str can be added later, if needed.
    e5bdccc7
Adı
Son kayıt (commit)
Son güncelleme
..
README.txt Loading commit data...
count.h Loading commit data...
ctype.h Loading commit data...
fastsearch.h Loading commit data...
find.h Loading commit data...
formatter.h Loading commit data...
localeutil.h Loading commit data...
partition.h Loading commit data...
string_format.h Loading commit data...
stringdefs.h Loading commit data...
transmogrify.h Loading commit data...
unicodedefs.h Loading commit data...