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.
1 parent ae08003 commit aafa3006797fef239f98ceee41261fae064b2c5a
@Sönke Ludwig Sönke Ludwig authored on 3 May
Showing 1 changed file
View
source/dub/project.d