Skip to content

Commit

Permalink
switch SnoopPrecompile to PrecompileTools
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed May 9, 2023
1 parent 05d595d commit 726b89e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Extents = "411431e0-e8b7-467b-b5e0-f676ba4f2910"
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
TableTraits = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c"
Expand All @@ -28,7 +28,7 @@ Extents = "0.1"
IntervalSets = "0.5, 0.6, 0.7"
IteratorInterfaceExtensions = "1"
RecipesBase = "0.7, 0.8, 1"
SnoopPrecompile = "1.0.3"
PrecompileTools = "1"
TableTraits = "1"
Tables = "1"
julia = "1.5"
Expand Down
2 changes: 1 addition & 1 deletion src/precompile.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

SnoopPrecompile.@precompile_all_calls begin
PrecompileTools.@precompile_all_calls begin
buffer = IOContext(IOBuffer(), :color=>true)
for f in (zeros, ones, falses, trues, rand)
x, y, z = X([:a, :b]), Y(10.0:10.0:30.0), Z()
Expand Down

0 comments on commit 726b89e

Please sign in to comment.