Why?

Walter Bright newshound2 at digitalmars.com
Tue Apr 9 19:11:28 UTC 2024


On 4/9/2024 10:58 AM, ryuukk_ wrote:
> Who managed to convince you to spend time working on this?

Nobody. I've wanted to do it for decades, just never got around to it. What 
triggered it was my proposal to Adam to split Phobos modules into a much more 
granular structure, which would increase the number of files in it by a factor 
of 5 or more. (The current structure is of each module being a grab bag of 
marginally related functions.) A more granular nature would hopefully reduce the 
"every module imports every other module" problem Phobos has.

But lots more modules increases aggregate file lookup times.

One cannot really tell how well it works without trying it.



More information about the Digitalmars-d mailing list