diff --git a/Project.toml b/Project.toml index 5f5979345..419331fb5 100644 --- a/Project.toml +++ b/Project.toml @@ -7,14 +7,12 @@ version = "1.6.2" AdaptivePredicates = "35492f91-a3bd-45ad-95db-fcad7dcfedb7" EnumX = "4e289a0a-7415-4d19-859d-a7e5c4648b56" ExactPredicates = "429591f6-91af-11e9-00e2-59fbe8cec110" -PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" [compat] AdaptivePredicates = "1.2" EnumX = "1.0" ExactPredicates = "2.2" -PrecompileTools = "1.2" Random = "1" Test = "1" julia = "1.6" diff --git a/src/DelaunayTriangulation.jl b/src/DelaunayTriangulation.jl index c4f2333c9..ef99cc13b 100644 --- a/src/DelaunayTriangulation.jl +++ b/src/DelaunayTriangulation.jl @@ -6,7 +6,6 @@ import ExactPredicates as EP import AdaptivePredicates as AP import EnumX import Random -import PrecompileTools abstract type AbstractPredicateKernel end # needs to be defined early for use in data_structures.jl const PredicateCacheType = Union{Nothing, <:Tuple} @@ -20,6 +19,4 @@ include("validation.jl") include("exports.jl") include("public.jl") -include("precompile.jl") - end diff --git a/src/precompile.jl b/src/precompile.jl deleted file mode 100644 index d4bcb22d8..000000000 --- a/src/precompile.jl +++ /dev/null @@ -1,19 +0,0 @@ -PrecompileTools.@setup_workload begin - p1 = [(0.0, 0.0), (1.0, 0.0), (1.0, 1.0), (0.0, 1.0)] - b1 = [1, 2, 3, 4, 1] - - p2 = [(0.25, 0.25), (0.25, 0.75), (0.75, 0.75), (0.75, 0.25)] - p2 = [p1; p2] - b2 = [[[1, 2, 3, 4, 1]], [[5, 6, 7, 8, 5]]] - - PrecompileTools.@compile_workload begin - tri = triangulate(p1) - vor = voronoi(tri, clip = true, smooth = true) - refine!(tri) - tri = triangulate(p1; boundary_nodes = b1) - tri = triangulate(p2; boundary_nodes = b2) - circ = CircularArc((1.0, 0.0), (1.0, 0.0), (0.0, 0.0)) - tri = triangulate(NTuple{2, Float64}[]; boundary_nodes = [[circ]]) - refine!(tri) - end -end \ No newline at end of file