Skip to content

Commit 0cc40ec

Browse files
KristofferClazarusA
authored andcommitted
add a precompile signature to Artifacts code that is used by JLLs (JuliaLang#54350)
``` # before julia> @time using GR_jll 0.202372 seconds (421.29 k allocations: 23.172 MiB, 4.93% gc time, 37.90% compilation time: 2% of which was recompilation) # after julia> @time using GR_jll 0.176863 seconds (151.62 k allocations: 9.064 MiB, 6.16% gc time, 4.11% compilation time: 29% of which was recompilation)'' ```
1 parent 694ce80 commit 0cc40ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Artifacts/src/Artifacts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,6 @@ precompile(NamedTuple{(:pkg_uuid,)}, (Tuple{Base.UUID},))
759759
precompile(Core.kwfunc(load_artifacts_toml), (NamedTuple{(:pkg_uuid,), Tuple{Base.UUID}}, typeof(load_artifacts_toml), String))
760760
precompile(parse_mapping, (String, String, String))
761761
precompile(parse_mapping, (Dict{String, Any}, String, String))
762-
762+
precompile(Tuple{typeof(Artifacts._artifact_str), Module, String, Base.SubString{String}, String, Base.Dict{String, Any}, Base.SHA1, Base.BinaryPlatforms.Platform, Any})
763763

764764
end # module Artifacts

0 commit comments

Comments
 (0)