PackageManager: Load packages lazily on dub build
A problem of the current design of dub is that all locations are scanned,
regardless of what action is being performed, often multiple times.
With this change, a regular `dub build` on a project with all dependencies
resolved will no longer loads all available package, which can substantially
speed up development.
1 parent 310cb46 commit dc75f07fc3016c763eb820b06766ae8e794db583
@Geod24 Geod24 authored on 22 Aug 2022
Mathias LANG committed on 20 Oct 2022
Showing 3 changed files
View
source/dub/dub.d
View
source/dub/packagemanager.d
View
source/dub/project.d