flaming vs accuracy [was Re: Performance of int/long in Python 3]
nhodgson at iinet.net.au
Fri Mar 29 06:46:14 CET 2013
> But both this and your example of case conversion are, fundamentally,
> iterating over the string. What if you aren't doing that? What if you
> want to parse and process?
Parsing is also normally a scanning operation. If you want to
process pieces of the string based on the parse then you remember the
positions (as iterators) at the significant places and extract/process
the data based on those positions.
More information about the Python-list