New issue 2815: Stripping strings out of whitespaces can be sped up using SIMD https://bitbucket.org/pypy/pypy/issues/2815/stripping-strings-out-of-whitespaces-can
Omer Katz: `str`'s methods `strip()`, `rstrip()` and `lstrip()` can be significantly sped up when SIMD is available and when the user hasn't provided any other value to strip. The [despacer](https://github.com/lemire/despacer) project demonstrates how it is done. It currently does not strip tabs so we'll need to adjust their code. _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue