]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 5 Oct 2011 19:24:08 +0000 (21:24 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 5 Oct 2011 19:24:08 +0000 (21:24 +0200)
commitc3cec7868bf1019c0987f1e9aadb56d73fa93d61
tree93e0ee3984bff06fd50e8643fc5de11402b81671
parent14f8f02826bc270b2a0dab2ff2efc8ce88fd9dc0
Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII

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.
Include/unicodeobject.h
Objects/stringlib/asciilib.h [new file with mode: 0644]
Objects/unicodeobject.c
Python/formatter_unicode.c