Skip to content

Commit

Permalink
Merge pull request #5 from timholy/teh/precompiletools
Browse files Browse the repository at this point in the history
Migrate from SnoopPrecompile to PrecompileTools
  • Loading branch information
PharmCat authored May 8, 2023
2 parents a1b934d + 9ee620a commit f0f9f6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
CPUSummary = "2a0fbf3d-bb9c-48f3-b0a9-814d99fd7ab9"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
Expand All @@ -19,7 +19,7 @@ CategoricalArrays = "0.9, 0.10"
CPUSummary = "0.1, 0.2"
PrettyTables = "2"
Requires = "1"
SnoopPrecompile = "1"
PrecompileTools = "1"
StatsBase = "0.29, 0.30, 0.31, 0.32, 0.33"
StatsModels = "0.6, 0.7"
Tables = "1"
Expand Down
4 changes: 2 additions & 2 deletions src/precompile.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import SnoopPrecompile
import PrecompileTools

SnoopPrecompile.@precompile_all_calls begin
PrecompileTools.@compile_workload begin
sdfromcv(0.4)
varfromcv(0.4)
cvfromvar(0.4)
Expand Down

0 comments on commit f0f9f6d

Please sign in to comment.