summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>2020-09-09 17:31:08 +0300
committerMichael Williamson <mike@zwobble.org>2024-06-08 12:13:35 +0100
commitfe19d174b69325d6791e4871f1077e17d9085cbf (patch)
tree8873926f76d4db596ed330a73c8bf851a4786cef /setup.py
parent3fa4e4a462b57a480fb2036b1e1e599a2cad83b3 (diff)
Use PyBytes_AsStringAndSize()
Let Python give us the length of the "bytes" it already knows, instead of doing an strlen(). This improves performance a bit.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions