[Fredrik Lundh] > plus the time it takes to acquire and release a thread lock > for each character... Eh? Python code runs under the protection of the global interpreter lock. There are no instances of Py_BEGIN_ALLOW_THREADS in any of the Unicode or regexp C support code now -- but you know that, so I must be missing your point. Or you're just feeling contrary <wink>.