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

Stop using function pointers #49

Closed
bluss opened this issue Aug 11, 2015 · 0 comments
Closed

Stop using function pointers #49

bluss opened this issue Aug 11, 2015 · 0 comments

Comments

@bluss
Copy link
Member

bluss commented Aug 11, 2015

Function pointers are useful in place of closures, because we can actually return them without boxing; however, the virtual calls are hard for the compiler to inline, leading to degradation, see #47.

For itertools 0.4.0, remove function pointers. Possible workarounds: Wrapper types. Unit structs as statically compiled function values.

bluss added a commit that referenced this issue Aug 23, 2015
Refactor common parts of merge into MergeCore

For issue #49
bluss added a commit that referenced this issue Aug 23, 2015
This was referenced Aug 23, 2015
bluss added a commit that referenced this issue Sep 4, 2015
Refactor common parts of merge into MergeCore

For issue #49
bluss added a commit that referenced this issue Sep 4, 2015
@bluss bluss closed this as completed in #53 Sep 4, 2015
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