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

break inference in Windows env caching to prevent a large set of invalidations from popular packages #52760

Closed
wants to merge 1 commit into from

Conversation

KristofferC
Copy link
Sponsor Member

Alternative to #52758 (see that PR for a description of the issue).

1.9:

julia> @btime ENV["=C:"]
  136.925 ns (5 allocations: 280 bytes)
"C:\\Users\\Kristoffer"

1.10.0:

julia> @btime ENV["=C:"]
  102.345 ns (3 allocations: 200 bytes)
"C:\\Users\\Kristoffer"

This patch:

julia> @btime ENV["=C:"]
  120.081 ns (3 allocations: 248 bytes)
"C:\\cygwin64\\home\\Kristoffer\\julia"

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.

1 participant