Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment with Cython #445

Open
gsnedders opened this issue Feb 26, 2020 · 1 comment
Open

Experiment with Cython #445

gsnedders opened this issue Feb 26, 2020 · 1 comment

Comments

@gsnedders
Copy link
Member

If we can simplify some of the code slightly, we might be able to get some decent performance increase under CPython from using Cython (note that we almost certainly want to keep our codebase pure Python, so this means using Cython's pure-Python mode). It's probably at least worth experimenting here.

At least for html5parser, making decent progress is blocked on #272, and relatedly making html5parser.HTMLParser.phases not a dict (so they can all become struct references).

@gsnedders
Copy link
Member Author

#24 is the other part that would be significant here, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant