diff options
author | Guido van Rossum <guido@python.org> | 2001-12-10 15:45:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-12-10 15:45:54 (GMT) |
commit | 169192e8184fe742c9694bb2ba9a545302a0fc44 (patch) | |
tree | 4a3cce7be4b97abc8acb7c56c74d588b9944a959 /Modules/almodule.c | |
parent | 49bdaede1b688a7efa17257895f3556496a02277 (diff) | |
download | cpython-169192e8184fe742c9694bb2ba9a545302a0fc44.zip cpython-169192e8184fe742c9694bb2ba9a545302a0fc44.tar.gz cpython-169192e8184fe742c9694bb2ba9a545302a0fc44.tar.bz2 |
SF patch #491049 (David Jacobs): Small PyString_FromString optimization
PyString_FromString():
Since the length of the string is already being stored in size,
changed the strcpy() to a memcpy() for a small speed improvement.
Diffstat (limited to 'Modules/almodule.c')
0 files changed, 0 insertions, 0 deletions