CLI: Slightly reduce memory allocations
By improving commandNames to only allocate once (the array call) instead
of many times (once per CommandGroup + join call),
as well as removing a call to commandNames and using a simple getter.
1 parent ac78ae1 commit 7118fa64dc1cc55b3fef578af6fb8352a827e09b
@Mathias Lang Mathias Lang authored on 7 Feb 2024
The Dlang Bot committed on 8 Feb 2024
Showing 1 changed file
View
source/dub/commandline.d