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

Parameterized type with super long tuple #11321

Closed
yuyichao opened this issue May 18, 2015 · 2 comments
Closed

Parameterized type with super long tuple #11321

yuyichao opened this issue May 18, 2015 · 2 comments
Labels
types and dispatch Types, subtyping and method dispatch

Comments

@yuyichao
Copy link
Contributor

Minimum working example

Enumerate((Int, 1:1000...))

It takes forever to finish. (Update: It overflows the stack after 10 mins)

It spends a lot of time in typeinf with a call stack thousands of levels deep. Same with #11320 , this is generated by show(::IO, ::MethodError).

Would be nice to have a non-specialized fullback or sth similar.

Related #10380 , #11320
Mailing list link: https://groups.google.com/forum/#!topic/julia-dev/BLvIjoiJtaI
@ScottPJones

@yuyichao
Copy link
Contributor Author

@JeffBezanson (if you've done with your thesis)

@yuyichao yuyichao changed the title Parameter type with super long tuple Parameterized type with super long tuple May 18, 2015
@ihnorton ihnorton added the types and dispatch Types, subtyping and method dispatch label May 19, 2015
@JeffBezanson
Copy link
Member

Closing as dup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

No branches or pull requests

3 participants