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

flipdim is slow/type inference issue for prod of vararg tuple #4751

Closed
simonster opened this issue Nov 7, 2013 · 0 comments
Closed

flipdim is slow/type inference issue for prod of vararg tuple #4751

simonster opened this issue Nov 7, 2013 · 0 comments

Comments

@simonster
Copy link
Member

flipdim is much slower than I expected it to be, seemingly because of a type inference issue. code_typed shows M = prod(leading::(Int64...,)) (with no type), but I think this should actually be inferred, since code_typed(prod, ((Int64...),)) shows that return values of all applicable methods are Int64.

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