Skip to content

Conversation

@timholy
Copy link
Member

@timholy timholy commented Mar 15, 2022

I found another package, RoundingIntegers.jl, that invalidates Base.require, which is particularly bad to invalidate since it has to be recompiled before loading the next package; if it happens repeatedly it can substantially slow loading. I finally decided to just go through the JET report on Base.require and fix most of the things that I could fix that weren't already being handled in #44500.

I am not certain whether the change to make_aliases (always returning a Vector{SimpleVector}) is wise, but the tests pass so 🤷.

@timholy timholy added the latency Latency label Mar 15, 2022
@timholy
Copy link
Member Author

timholy commented Mar 16, 2022

Thanks @aviatesk!

Freebsd and Linux32 seem stuck, but everything else passes so I will just merge.

@timholy timholy merged commit cc60657 into master Mar 16, 2022
@timholy timholy deleted the teh/fix_require_vulnerabilities branch March 16, 2022 10:37
KristofferC added a commit that referenced this pull request Apr 20, 2022
Discovered via JET. This also causes `make_aliases` to always return a `Vector{SimpleVector}` as its first argument.

Co-authored-by: Shuhei Kadowaki <[email protected]>
Co-authored-by: Jameson Nash <[email protected]>
Co-authored-by: Kristoffer Carlsson <[email protected]>
(cherry picked from commit cc60657)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

latency Latency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants