commit | ac2ef65c320606e30132ca58bbd6b5d6861ce644 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Jul 04 16:04:44 2015 -0700 |
committer | Raymond Hettinger <python@rcn.com> | Sat Jul 04 16:04:44 2015 -0700 |
tree | 60314adce386a879a44b69e752d29568d63d894d | |
parent | 7fe0507d07f819c76a79421ae54d547a54e6f35d [diff] |
Make the unicode equality test an external function rather than in-lining it. The real benefit of the unicode specialized function comes from bypassing the overhead of PyObject_RichCompareBool() and not from being in-lined (especially since there was almost no shared data between the caller and callee). Also, the in-lining was having a negative effect on code generation for the callee.