File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ version = "0.7.1"
7
7
Dictionaries = " 85a47980-9c8c-11e8-2b9f-f7ca1fa99fb4"
8
8
JuMP = " 4076af6c-e467-56ae-b986-b466b2749572"
9
9
LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
10
- SnoopPrecompile = " 66db9d55-30c0-4569-8b51-7e840670fc0c "
10
+ PrecompileTools = " aea7be01-6a6a-4083-8856-8a6e6704d82a "
11
11
12
12
[compat ]
13
13
Dictionaries = " 0.3"
14
14
JuMP = " 1.4.0"
15
- SnoopPrecompile = " 1"
15
+ PrecompileTools = " 1"
16
16
julia = " 1.6"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module SparseVariables
3
3
using Dictionaries
4
4
using JuMP
5
5
using LinearAlgebra
6
- using SnoopPrecompile
6
+ using PrecompileTools
7
7
8
8
include (" sparsearray.jl" )
9
9
include (" dictionaries.jl" )
@@ -15,7 +15,7 @@ export IndexedVarArray
15
15
export insertvar!
16
16
export unsafe_insertvar!
17
17
18
- @precompile_setup begin
18
+ @setup_workload begin
19
19
# Putting some things in `setup` can reduce the size of the
20
20
# precompile file and potentially make loading faster.
21
21
rs = 1 : 10
@@ -24,7 +24,7 @@ export unsafe_insertvar!
24
24
sys = [:a , :b ]
25
25
m = Model ()
26
26
27
- @precompile_all_calls begin
27
+ @compile_workload begin
28
28
# all calls in this block will be precompiled, regardless of whether
29
29
# they belong to your package or not (on Julia 1.8 and higher)
30
30
You can’t perform that action at this time.
0 commit comments