This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author v+python
Recipients v+python
Date 2012-06-29.19:53:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is stupid code, but it should be faster with PEP 393 than before, should it not?

str = ' ' * 5000000 + "this is really a string!!!";
for ix in range( 9000 ):
    z = max(str)
print("Max character: " + max(str))

While the new C API seems to support quickly finding the max character in a string, Python code does not benefit.
Date User Action Args
2012-06-29 19:53:25v+pythonsetrecipients: + v+python
2012-06-29 19:53:25v+pythonsetmessageid: <>
2012-06-29 19:53:25v+pythonlinkissue15226 messages
2012-06-29 19:53:24v+pythoncreate