This package really doesn't need StaticArrays for functionality. By removing it we greatly improve load times and also make the interface more generic, allowing arbitrary support for any StaticVector-like constructor.
before:
julia> @time using Contour
0.842599 seconds (2.50 M allocations: 187.757 MiB, 0.37% compilation time)
after:
julia> @time using Contour
0.020156 seconds (2.95 k allocations: 271.500 KiB, 31.36% compilation time)`
This package really doesn't need StaticArrays for functionality. By removing it we greatly improve load times and also make the interface more generic, allowing arbitrary support for any StaticVector-like constructor.
Coupled with and this and https://github.com/JuliaGeometry/GeometryBasics.jl/pull/169 , we make loading Plots almost 10% faster: