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

Force specialization on arguments in core wrapper #123

Closed
KristofferC opened this issue Oct 18, 2018 · 1 comment
Closed

Force specialization on arguments in core wrapper #123

KristofferC opened this issue Oct 18, 2018 · 1 comment

Comments

@KristofferC
Copy link
Contributor

KristofferC commented Oct 18, 2018

Sometimes defining a function as f(a, b, c) = g(a,b,c) might mean that the specialization heuristic kicks in when the type of an argument is a Function or Type. This leads to issues like JuliaLang/julia#28087 and #71.

One possible way around this is to force specialization using where (with an implementation in JuliaLang/julia#28087 (comment)). This might make sense since presumably, we want this core wrapper to be "as invisible as possible".

@KristofferC
Copy link
Contributor Author

Closing in favor of #124.

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