Cache various package information to reduce GC allocations in getPackageConfigs.
Package.name and Package.getAllDependencies both need to reallocate their return value for every call, which results in heavy GC pressure during the configuration resolution algorithm. |
---|
|
source/dub/project.d |
---|