File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
88IfElse = " 615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
99LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1010Requires = " ae029012-a4dd-5104-9daa-d747884805df"
11- SnoopPrecompile = " 66db9d55-30c0-4569-8b51-7e840670fc0c "
11+ PrecompileTools = " aea7be01-6a6a-4083-8856-8a6e6704d82a "
1212SparseArrays = " 2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1313Static = " aedffcd0-7271-4cad-89d0-dc628f76c6d3"
1414SuiteSparse = " 4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
@@ -17,7 +17,7 @@ SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
1717ArrayInterface = " 7"
1818Compat = " 4"
1919IfElse = " 0.1"
20- SnoopPrecompile = " 1"
20+ PrecompileTools = " 1"
2121Static = " 0.8"
2222Requires = " 1"
2323julia = " 1.6"
Original file line number Diff line number Diff line change @@ -492,12 +492,12 @@ end
492492
493493# # Precompilation
494494
495- using SnoopPrecompile
496- @precompile_setup begin
495+ using PrecompileTools
496+ @setup_workload begin
497497 # Putting some things in `setup` can reduce the size of the
498498 # precompile file and potentially make loading faster.
499499 arrays = [rand (4 ), Base. oneto (5 )]
500- @precompile_all_calls begin for x in arrays
500+ @compile_workload begin for x in arrays
501501 known_first (x)
502502 known_step (x)
503503 known_last (x)
You can’t perform that action at this time.
0 commit comments