Kristoffer Carlsson
Kristoffer Carlsson
(I deleted my earlier reply because I posted it too early, sorry).
Maybe the test can be changed to ```julia q = 0 function h() eval(:(q = 2)) return q end @test @interpret(h() == 2) ``` ?
I think @aviatesk has said that this whole optimization of resolving values early is invalid anyway though..
Can this be benchmarked on a somewhat large environment. Especially on Windows? The is also a cache that can be used that the precompile code uses?
https://github.com/JuliaLang/julia/pull/59670 caused us not to be able to pass a cache to `Base.isprecompiled` anymore.
I think this is a good idea and we should imo also: - Give it a docstring. - Make it public. - Give it a better name.
> The output from status --outdated seemed to indicate to me that NonlinearSolve was upgradable, but attempting to do that failed. The `^` means that there is a new version...
We kind of want this for any repo that uses the backport app so I wonder if it wouldn't be easier to add the functionality directly to the backport app...
I think https://github.com/KristofferC/TimerOutputs.jl/pull/164 made this slightly worse.
I'm not sure something like this should be on by default. I think it can get quite confusing if Pkg behaves differently depending on stateful things like what stuff you...