Shadowfist/pokemon-online — comment on commit d842fac13a9c3727db563a2edb5c0e700fbe6f5b
File:  line 0
By coyotte508:

The result.replace() still checks all the string, everytime, but it's better than before anyway. Though your replace replaces every character with another QString, something better and more fit is http://doc.qt.nokia.com/4.7-snapshot/qstring.html#remove-2 -- but the solution i gave is the best.