question about speed of sequential string replacement vs regex or

Chris Angelico rosuav at
Wed Sep 28 15:19:32 CEST 2011

On Wed, Sep 28, 2011 at 10:28 PM, Xah Lee <xahlee at> wrote:
> each string needs to be changed to a unique
> string, not all to the same string.

And you'll find that this is, by and large, the most normal situation.
Folding many strings down to one string is a lot less common. So,
let's have some real-world use cases and then we can talk


More information about the Python-list mailing list