-
-
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
Type instability of the std function? #23877
Comments
I think this is coming from the fact that |
Thank you for the clear explanation. |
Huh. This is a substantial history. |
Please consider the following code:
2.233152 seconds (100.01 M allocations: 1.490 GiB, 4.51% gc time)
0.404369 seconds (8.43 k allocations: 360.187 KiB)
This is a significant speed difference.
Does it come from from the type instability of the std function?
julia> versioninfo()
Julia Version 0.6.0
Commit 9036443* (2017-06-19 13:05 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-4790S CPU @ 3.20GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
The text was updated successfully, but these errors were encountered: