diff options
author | Guido van Rossum <guido@python.org> | 2001-10-03 00:50:18 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-03 00:50:18 (GMT) |
commit | da21c0110b1948d4b3e0593e06436a2a5582f366 (patch) | |
tree | 1a95b0f40e59db48b855d86443d18ca60244b9b0 /Lib/test/test_repr.py | |
parent | ed554f6fc70416a726cd4abc44268dea4bf031e4 (diff) | |
download | cpython-da21c0110b1948d4b3e0593e06436a2a5582f366.zip cpython-da21c0110b1948d4b3e0593e06436a2a5582f366.tar.gz cpython-da21c0110b1948d4b3e0593e06436a2a5582f366.tar.bz2 |
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 'Lib/test/test_repr.py')
0 files changed, 0 insertions, 0 deletions