Skip to content

cython for performance #73

Closed
Closed
@kodonnell

Description

@kodonnell

I'm currently in a try-to-optimize-static-analysers mood, and I'm wondering whether we could Cythonise this? Here's an example for astroid where I basically change no code, and just compile it with cython for a 20% performance improvement. There's more relevant discussion in that PR about other options too.

Thoughts? I imagine parso is pretty performance critical (jedi-vim etc.), but if not, then there's not much point. Especially if you don't want to depend on users installing Cython.

If you're interested and can point to a standard performance test case, I can submit a PR like the above for you to look at, including quantified performance improvements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions