<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/stringlib/asciilib.h, branch 3.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringlib/asciilib.h?h=3.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringlib/asciilib.h?h=3.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2012-05-29T10:57:52Z</updated>
<entry>
<title>Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args)</title>
<updated>2012-05-29T10:57:52Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2012-05-29T10:57:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d3f0882dfb3a15d604de1b1620b2bf8de9d643bb'/>
<id>urn:sha1:d3f0882dfb3a15d604de1b1620b2bf8de9d643bb</id>
<content type='text'>
 * Formatting string, int, float and complex use the _PyUnicodeWriter API. It
   avoids a temporary buffer in most cases.
 * Add _PyUnicodeWriter_WriteStr() to restore the PyAccu optimization: just
   keep a reference to the string if the output is only composed of one string
 * Disable overallocation when formatting the last argument of str%args and
   str.format(args)
 * Overallocation allocates at least 100 characters: add min_length attribute
   to the _PyUnicodeWriter structure
 * Add new private functions: _PyUnicode_FastCopyCharacters(),
   _PyUnicode_FastFill() and _PyUnicode_FromASCII()

The speed up is around 20% in average.
</content>
</entry>
<entry>
<title>Issue #14738: Speed-up UTF-8 decoding on non-ASCII data.  Patch by Serhiy Storchaka.</title>
<updated>2012-05-10T14:36:02Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2012-05-10T14:36:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ca5f91b888bc0056fc08d062f65cc783bbba8532'/>
<id>urn:sha1:ca5f91b888bc0056fc08d062f65cc783bbba8532</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separator</title>
<updated>2012-02-23T23:37:51Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2012-02-23T23:37:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=41a863cb81608c779d60b49e7be8a115816734fc'/>
<id>urn:sha1:41a863cb81608c779d60b49e7be8a115816734fc</id>
<content type='text'>
 * Decode thousands separator and decimal point using PyUnicode_DecodeLocale()
   (from the locale encoding), instead of decoding them implicitly from latin1
 * Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used
 * Change _PyUnicode_InsertThousandsGrouping() API to return the maximum
   character if unicode is NULL
 * Replace MIN/MAX macros by Py_MIN/Py_MAX
 * stringlib/undef.h undefines STRINGLIB_IS_UNICODE
 * stringlib/localeutil.h only supports Unicode
</content>
</entry>
<entry>
<title>remove some usage of Py_UNICODE_TOUPPER/LOWER</title>
<updated>2012-01-12T02:00:42Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2012-01-12T02:00:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21e0da228d158ec248be5c7db274a7bc54a51307'/>
<id>urn:sha1:21e0da228d158ec248be5c7db274a7bc54a51307</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stringlib: remove unused STRINGLIB_FILL</title>
<updated>2011-11-20T18:30:15Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-11-20T18:30:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0fc35196bbd2248ee34d3c818b73eb2f864e4083'/>
<id>urn:sha1:0fc35196bbd2248ee34d3c818b73eb2f864e4083</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix fastsearch for UCS2 and UCS4</title>
<updated>2011-10-11T21:22:22Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-10-11T21:22:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8cc70dcf7020f1e5c286fed5b2a1034f5ba36afe'/>
<id>urn:sha1:8cc70dcf7020f1e5c286fed5b2a1034f5ba36afe</id>
<content type='text'>
 * If needle is 0, try (p[0] &gt;&gt; 16) &amp; 0xff for UCS4
 * Disable fastsearch_memchr_1char() if needle is zero for UCS2 and UCS4
</content>
</entry>
<entry>
<title>Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII</title>
<updated>2011-10-05T19:24:08Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2011-10-05T19:24:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c3cec7868bf1019c0987f1e9aadb56d73fa93d61'/>
<id>urn:sha1:c3cec7868bf1019c0987f1e9aadb56d73fa93d61</id>
<content type='text'>
ucs1, ucs2 and ucs4 libraries have to scan created substring to find the
maximum character, whereas it is not need to ASCII strings. Because ASCII
strings are common, it is useful to optimize ASCII.
</content>
</entry>
</feed>
