-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
readdlm slow #29036
Labels
compiler:inference
Type inference
performance
Must go faster
regression
Regression in behavior compared to a previous version
Comments
JeffBezanson
added
performance
Must go faster
regression
Regression in behavior compared to a previous version
labels
Sep 4, 2018
JeffBezanson
added a commit
that referenced
this issue
Sep 7, 2018
In this case, the result of `iterate` has not been checked for `nothing`, so we try to call `indexed_iterate` (for destructuring assignment) on a Union of Nothing and the tuple returned by `iterate`. That has two method matches, and so was excluded from constant propagation. This commit fixes that by generalizing the constant prop heuristic from requiring one method match to requiring one non-Bottom method match. This issue caused a large slowdown in DelimitedFiles, where the inner loop consists of ``` while idx <= slen val,idx = iterate(dbuff, idx) ```
Keno
pushed a commit
that referenced
this issue
Sep 8, 2018
In this case, the result of `iterate` has not been checked for `nothing`, so we try to call `indexed_iterate` (for destructuring assignment) on a Union of Nothing and the tuple returned by `iterate`. That has two method matches, and so was excluded from constant propagation. This commit fixes that by generalizing the constant prop heuristic from requiring one method match to requiring one non-Bottom method match. This issue caused a large slowdown in DelimitedFiles, where the inner loop consists of ``` while idx <= slen val,idx = iterate(dbuff, idx) ```
KristofferC
pushed a commit
that referenced
this issue
Sep 10, 2018
In this case, the result of `iterate` has not been checked for `nothing`, so we try to call `indexed_iterate` (for destructuring assignment) on a Union of Nothing and the tuple returned by `iterate`. That has two method matches, and so was excluded from constant propagation. This commit fixes that by generalizing the constant prop heuristic from requiring one method match to requiring one non-Bottom method match. This issue caused a large slowdown in DelimitedFiles, where the inner loop consists of ``` while idx <= slen val,idx = iterate(dbuff, idx) ``` (cherry picked from commit 957b9c0)
Merged
KristofferC
pushed a commit
that referenced
this issue
Feb 11, 2019
In this case, the result of `iterate` has not been checked for `nothing`, so we try to call `indexed_iterate` (for destructuring assignment) on a Union of Nothing and the tuple returned by `iterate`. That has two method matches, and so was excluded from constant propagation. This commit fixes that by generalizing the constant prop heuristic from requiring one method match to requiring one non-Bottom method match. This issue caused a large slowdown in DelimitedFiles, where the inner loop consists of ``` while idx <= slen val,idx = iterate(dbuff, idx) ``` (cherry picked from commit 957b9c0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
compiler:inference
Type inference
performance
Must go faster
regression
Regression in behavior compared to a previous version
The deprecation warning for
readcsv
reads:with additional info given by
Now on 0.6 for a 5177037x4 Matrix{Any}
vs. 1.0
The text was updated successfully, but these errors were encountered: