• Victor Stinner's avatar
    I want a super fast 'a' * n! · 67ca64ce
    Victor Stinner authored
     * Optimize unicode_repeat() for a special case with memset()
     * Simplify integer overflow checking; remove the second check because
       PyUnicode_New() already does it and uses a smaller limit (Py_ssize_t vs
       size_t)
    67ca64ce
unicodeobject.c 392 KB