Skip to content

Improve str.split performance #290

Open
@braxtonmckee

Description

@braxtonmckee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerIssue that does not affect the un-compiled subset of typed_pythonenhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions