Files
cpython/Lib/test
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
..
2015-10-12 23:37:31 +02:00
2015-09-18 16:32:51 +02:00
2015-09-06 22:31:26 -07:00
2015-09-15 00:23:08 +02:00
2015-09-06 21:44:45 +03:00
2015-10-06 15:28:56 -05:00
2015-09-07 04:04:40 +00:00
2015-09-09 01:56:53 +00:00
2015-09-09 01:56:53 +00:00
2015-10-12 14:38:24 +02:00
2015-09-29 10:30:04 -04:00
2015-10-12 23:30:15 -05:00
2015-09-04 12:15:54 -07:00
2015-09-09 01:56:53 +00:00