31 Commits (cdcac039fb447f2ab04efcacbe663751bb2cb4ec)

Author SHA1 Message Date
Serhiy Storchaka 998c9cdd42 Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc. 9 years ago
Victor Stinner 1a05d6c04d PEP 7 style for if/else in C 9 years ago
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 9 years ago
Serhiy Storchaka bcde10aa7e Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used 10 years ago
Victor Stinner 6bd525b656 Optimize error handlers of ASCII and Latin1 encoders when the replacement 10 years ago
Victor Stinner ce179bf6ba Add _PyBytesWriter_WriteBytes() to factorize the code 10 years ago
Victor Stinner ad7715891e _PyBytesWriter: simplify code to avoid "prealloc" parameters 10 years ago
Victor Stinner e7bf86cd7d Optimize backslashreplace error handler 10 years ago
Victor Stinner fdfbf78114 Issue #25318: Add _PyBytesWriter API 10 years ago
Victor Stinner 01ada3996b Issue #25267: The UTF-8 encoder is now up to 75 times as fast for error 10 years ago
Serhiy Storchaka 7e29eea926 Fixed typos in comments. 11 years ago
Serhiy Storchaka 0d4df752ac Issue #15027: The UTF-32 encoder is now 3x to 7x faster. 11 years ago
Serhiy Storchaka 3079328d29 Reverted changeset b72c5573c5e7 (issue #15027). 12 years ago
Serhiy Storchaka 583a93943c Issue #15027: Rewrite the UTF-32 encoder. It is now 1.6x to 3.5x faster. 12 years ago
Serhiy Storchaka dc2fd5101a Remove dead code committed in issue #12892. 12 years ago
Serhiy Storchaka 58cf607d13 Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates. 12 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Victor Stinner ab60de478d Issue #8271: Fix compilation on Windows 13 years ago
Ezio Melotti f7ed5d111b #8271: the utf-8 decoder now outputs the correct number of U+FFFD characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti. 13 years ago
Christian Heimes 743e0cd6b5 Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified 13 years ago
Antoine Pitrou ca8aa4acf6 Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t. 13 years ago
Mark Dickinson 01ac8b6ab1 Use correct types for ASCII_CHAR_MASK integer constants. 14 years ago
Mark Dickinson 106c4145ff Issue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by Serhiy Storchaka. 14 years ago
Antoine Pitrou 27f6a3b0bf Issue #15026: utf-16 encoding is now significantly faster (up to 10x). 14 years ago
Antoine Pitrou 63065d761e Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs. 14 years ago
Antoine Pitrou ca5f91b888 Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy Storchaka. 14 years ago
Victor Stinner 6099a03202 Issue #13624: Write a specialized UTF-8 encoder to allow more optimization 14 years ago
Antoine Pitrou 0a3229de6b Issue #13417: speed up utf-8 decoding by around 2x for the non-fully-ASCII case. 14 years ago