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"
8
8
IfElse = " 615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
9
9
LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
10
10
Requires = " ae029012-a4dd-5104-9daa-d747884805df"
11
- SnoopPrecompile = " 66db9d55-30c0-4569-8b51-7e840670fc0c "
11
+ PrecompileTools = " aea7be01-6a6a-4083-8856-8a6e6704d82a "
12
12
SparseArrays = " 2f01184e-e22b-5df5-ae63-d93ebab69eaf"
13
13
Static = " aedffcd0-7271-4cad-89d0-dc628f76c6d3"
14
14
SuiteSparse = " 4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
@@ -17,7 +17,7 @@ SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
17
17
ArrayInterface = " 7"
18
18
Compat = " 4"
19
19
IfElse = " 0.1"
20
- SnoopPrecompile = " 1"
20
+ PrecompileTools = " 1"
21
21
Static = " 0.8"
22
22
Requires = " 1"
23
23
julia = " 1.6"
Original file line number Diff line number Diff line change @@ -492,12 +492,12 @@ end
492
492
493
493
# # Precompilation
494
494
495
- using SnoopPrecompile
496
- @precompile_setup begin
495
+ using PrecompileTools
496
+ @setup_workload begin
497
497
# Putting some things in `setup` can reduce the size of the
498
498
# precompile file and potentially make loading faster.
499
499
arrays = [rand (4 ), Base. oneto (5 )]
500
- @precompile_all_calls begin for x in arrays
500
+ @compile_workload begin for x in arrays
501
501
known_first (x)
502
502
known_step (x)
503
503
known_last (x)
You can’t perform that action at this time.
0 commit comments