You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I execute the following code in a fresh REPL (I haven't imported SpecialFunctions):
julia>f(x) =erf(x);
julia>f(1)
ERROR: UndefVarError: erf not defined
Stacktrace:
[1] f(::Int64) at ./REPL[1]:1
[2] top-level scope at REPL[2]:1
julia>using BenchmarkTools, SpecialFunctions
julia> x =1; @btimef($x);
27.645 ns (1 allocation:16 bytes)
This allocation is not "real". See upstream issue: JuliaLang/julia#35889. If I start a new fresh REPL, and this time load SpecialFunctions at the beginning:
Suppose I execute the following code in a fresh REPL (I haven't imported
SpecialFunctions
):This allocation is not "real". See upstream issue: JuliaLang/julia#35889. If I start a new fresh REPL, and this time load
SpecialFunctions
at the beginning:the allocation is gone.
I think we should warn about this in the README or the docs.
The text was updated successfully, but these errors were encountered: