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

some latency hacks #30566

Merged
merged 1 commit into from
Jan 8, 2019
Merged

some latency hacks #30566

merged 1 commit into from
Jan 8, 2019

Conversation

JeffBezanson
Copy link
Member

These changes cut some method dependency edges that tend to lead to invalidations when loading packages. Cuts another 10-15 seconds off the time to precompile DataFrames. Hopefully knowing the exact negative element count passed to copyto! is not essential.

@JeffBezanson JeffBezanson added the compiler:latency Compiler latency label Jan 3, 2019
base/array.jl Outdated
@@ -279,7 +279,7 @@ end
# occurs, see discussion in #27874
function _throw_argerror(n)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't you remove the n argument then?

These changes cut some method dependency edges that tend to lead to
invalidations when loading packages.
@ararslan
Copy link
Member

ararslan commented Jan 3, 2019

latency hacks

Too hacky for backporting?

@JeffBezanson
Copy link
Member Author

Yes, I think we probably shouldn't backport this.

@KristofferC
Copy link
Member

KristofferC commented Jan 5, 2019

I would argue we should put this in 1.1.0. The gain here seems overwhelmingly larger compared to a slightly less informative error message.

@KristofferC
Copy link
Member

Merge?

@JeffBezanson JeffBezanson merged commit 13fc4c3 into master Jan 8, 2019
@JeffBezanson JeffBezanson deleted the jb/latency13 branch January 8, 2019 20:22
KristofferC pushed a commit that referenced this pull request Jan 9, 2019
These changes cut some method dependency edges that tend to lead to
invalidations when loading packages.

(cherry picked from commit 13fc4c3)
@KristofferC KristofferC mentioned this pull request Jan 9, 2019
15 tasks
vchuravy pushed a commit to JuliaLang/Distributed.jl that referenced this pull request Oct 6, 2023
These changes cut some method dependency edges that tend to lead to
invalidations when loading packages.

(cherry picked from commit 5e56fd9)
Keno pushed a commit that referenced this pull request Jun 5, 2024
These changes cut some method dependency edges that tend to lead to
invalidations when loading packages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:latency Compiler latency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants