I'm working on a package that has an optional dependency. As in it works without it, but has additional functionality if it is installed. Because the packages are still in development, they're not in Metadata right now. So I'm checking with:
if haskey(Pkg.installed(), "Pkgname") import added_functionality end This call takes 22 seconds on my machine. Is there a faster/better way to go about doing this?