Skip to content

Commit

Permalink
add back precompiles
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Jul 24, 2023
1 parent ee5e570 commit 22488bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions precompile/shared-precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using GeometryBasics

@compile scatter(0..1, rand(10), markersize=rand(10) .* 20)
@compile scatter(LinRange(0, 1, 10), rand(10))
# @compile scatter(-1..1, x -> x^2)
@compile scatter(-1..1, x -> x^2)

@compile begin
f, ax, pl = lines(Rect(0, 0, 1, 1), linewidth=4)
Expand All @@ -15,7 +15,7 @@ end
@compile lines(rand(10), rand(10), color=rand(10), linewidth=10)
@compile lines(rand(10), rand(10), color=rand(RGBAf, 10), linewidth=10)
@compile lines(Circle(Point2f(0), Float32(1)))
# @compile lines(-1..1, x -> x^2)
@compile lines(-1..1, x -> x^2)

@compile heatmap(rand(50, 50), colormap=(:RdBu, 0.2))

Expand Down

0 comments on commit 22488bf

Please sign in to comment.