Message185393
If you would like to improve Python, you have to focus on the development version which is Python 3.4. In this version, the code is different:
if (length == 1)
return PyBool_FromLong(
Py_UNICODE_ISSPACE(PyUnicode_READ(kind, data, 0)));
I'm not sure that having a special case for string of 1 character provide any speed up... |
|
Date |
User |
Action |
Args |
2013-03-28 00:45:43 | vstinner | set | recipients:
+ vstinner, benjamin.peterson, ezio.melotti, gdementen, serhiy.storchaka |
2013-03-28 00:45:43 | vstinner | set | messageid: <1364431543.29.0.431596566047.issue17559@psf.upfronthosting.co.za> |
2013-03-28 00:45:43 | vstinner | link | issue17559 messages |
2013-03-28 00:45:43 | vstinner | create | |
|