typed_python icon indicating copy to clipboard operation
typed_python copied to clipboard

Improve str.split performance

Open braxtonmckee opened this issue 6 years ago • 0 comments

Not surprisingly, our str.split implementation is much slower than python's internals for lots of small strings. A big part of it is the malloc implementation (tcmalloc speeds it up by about 50%). But also, we seem to have quite a bit of other overhead that I can't quite figure out.

braxtonmckee avatar Dec 19 '19 20:12 braxtonmckee