|
Use getPackage instead of getBestPackage for resolved dependencies
getBestPackage is intended to find the highest local version matching a range. Due to this, it has to eagerly load packages and iterate through them. However, when loading a resolved dependency, we have an exact Version, which is simply wrapped in a VersionRange, so we can call getPackage instead. |
|---|
|
|
| source/dub/project.d |
|---|