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

Add compiled backend #26

Open
pganssle opened this issue Mar 6, 2018 · 0 comments
Open

Add compiled backend #26

pganssle opened this issue Mar 6, 2018 · 0 comments

Comments

@pganssle
Copy link
Member

pganssle commented Mar 6, 2018

Given that we make pretty heavy use of decorators, I believe every layer of decoration adds additional function call overhead whenever the function is called.

We'll have to do some profiling (see #9) to see if this is a real concern, but if it is, it would probably help adoption if we added a compiled backend that allows us to minimize function call overhead by constructing function objects.

I think it might be preferable to do this CPython style where there is a compiled and a pure Python implementation that are kept in sync by the test suite. While that introduces some support burden keeping the two in sync, this is a small enough library (and is intended to be a "lightweight" dependency) that I think it's probably worth it.

@pganssle pganssle added this to the Feature Release milestone Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant