summaryrefslogtreecommitdiff
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-03 00:50:18 +0000
committerGuido van Rossum <guido@python.org>2001-10-03 00:50:18 +0000
commitda21c0110b1948d4b3e0593e06436a2a5582f366 (patch)
tree1a95b0f40e59db48b855d86443d18ca60244b9b0 /Python/getcompiler.c
parented554f6fc70416a726cd4abc44268dea4bf031e4 (diff)
downloadcpython-git-da21c0110b1948d4b3e0593e06436a2a5582f366.tar.gz
call_method(), call_maybe(): fix a performance bug: the argument
pointing to a static variable to hold the object form of the string was never used, causing endless calls to PyString_InternFromString(). One particular test (with lots of __getitem__ calls) became a third faster with this!
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions