From 63da56eb8417c80849fa1d9db4d9e9a196b97a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilo=20Garc=C3=ADa?= Date: Sun, 13 Oct 2024 17:24:36 -0500 Subject: [PATCH] Move precompiled usings to workload --- src/BioMarkovChains.jl | 3 --- src/workload.jl | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/BioMarkovChains.jl b/src/BioMarkovChains.jl index d938616..34c2240 100644 --- a/src/BioMarkovChains.jl +++ b/src/BioMarkovChains.jl @@ -22,9 +22,6 @@ using BioSequences: # Other functions SeqOrView, NucleicSeqOrView - #tests and precompilation - -using PrecompileTools: @setup_workload, @compile_workload using VectorizedKmers: count_kmers include("types.jl") diff --git a/src/workload.jl b/src/workload.jl index 3a9557c..4975c71 100644 --- a/src/workload.jl +++ b/src/workload.jl @@ -1,3 +1,5 @@ +using PrecompileTools: @setup_workload, @compile_workload + @setup_workload begin # Putting some things in `@setup_workload` instead of `@compile_workload` can reduce the size of the # precompile file and potentially make loading faster.