typed_python
typed_python copied to clipboard
Improve str.split performance
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.