[Python-Dev] Question regarding: Lib/_markupbase.py
Fred Drake
fred at fdrake.net
Mon Feb 11 15:10:53 CET 2013
On Mon, Feb 11, 2013 at 7:16 AM, Developer Developer
<just_another_developer at yahoo.de> wrote:
> Wouldn't it be better to do the following?
...
> Otherwise I think we are scanning rawdata[j:] twice.
Yes, that would be better, and avoids a string object creation as well.
-Fred
--
Fred L. Drake, Jr. <fred at fdrake.net>
"A storm broke loose in my mind." --Albert Einstein
More information about the Python-Dev
mailing list