summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/asciilib.h
Commit message (Collapse)AuthorAgeFilesLines
* remove some usage of Py_UNICODE_TOUPPER/LOWERBenjamin Peterson2012-01-121-2/+0
|
* stringlib: remove unused STRINGLIB_FILLVictor Stinner2011-11-201-1/+0
|
* Fix fastsearch for UCS2 and UCS4Victor Stinner2011-10-111-0/+1
| | | | | * If needle is 0, try (p[0] >> 16) & 0xff for UCS4 * Disable fastsearch_memchr_1char() if needle is zero for UCS2 and UCS4
* Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCIIVictor Stinner2011-10-051-0/+34
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.