cpython/Doc/whatsnew
Victor Stinner 2bf8993db9 Optimize bytes.fromhex() and bytearray.fromhex()
Issue #25401: Optimize bytes.fromhex() and bytearray.fromhex(): they are now
between 2x and 3.5x faster. Changes:

* Use a fast-path working on a char* string for ASCII string
* Use a slow-path for non-ASCII string
* Replace slow hex_digit_to_int() function with a O(1) lookup in
  _PyLong_DigitValue precomputed table
* Use _PyBytesWriter API to handle the buffer
* Add unit tests to check the error position in error messages
2015-10-14 11:25:33 +02:00
..
2.0.rst Marked keystrokes with the :kbd: role. 2015-09-12 17:45:25 +03:00
2.1.rst Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos. 2015-06-14 17:35:37 -07:00
2.2.rst Use https:// URLs when referring to python.org hosts. 2014-10-29 08:36:35 +01:00
2.3.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
2.4.rst Use https:// URLs when referring to python.org hosts. 2014-10-29 08:36:35 +01:00
2.5.rst Marked keystrokes with the :kbd: role. 2015-09-12 17:45:25 +03:00
2.6.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
2.7.rst Marked keystrokes with the :kbd: role. 2015-09-12 17:45:25 +03:00
3.0.rst Doc: fix default role usage (except in unittest mock docs) 2014-10-30 22:26:26 +01:00
3.1.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
3.2.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
3.3.rst Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos. 2015-06-14 17:35:37 -07:00
3.4.rst Use :menuselection: in whatsnew/3.4. 2015-09-13 21:05:37 +03:00
3.5.rst asyncio: Make ensure_future() accept all kinds of awaitables. 2015-10-02 15:05:59 -04:00
3.6.rst Optimize bytes.fromhex() and bytearray.fromhex() 2015-10-14 11:25:33 +02:00
changelog.rst Fixing broken links in doc, part 4: some more breaks and redirects 2014-10-29 10:57:37 +01:00
index.rst Reverting my previous commit. 2015-05-30 10:57:56 -04:00