[issue39588] Use memcpy() instead of for() loops in _PyUnicode_To*

Raymond Hettinger report at bugs.python.org
Sat Feb 8 16:54:27 EST 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

In the past, we've also gotten some gains by replacing memcpy() with for-loops.  These kinds of optimization choices are best left to the compiler.

----------
nosy: +rhettinger
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39588>
_______________________________________


More information about the Python-bugs-list mailing list