Optimization to cpythons regex library
This division is expensive; the divisor is always sizeof(char) or sizeof(Py_UNICODE), and it seems to be faster to do a branch and then possibly a shift.
Showing
Please register or sign in to comment