On Monday, 2 April 2018 at 12:33:37 UTC, Atila Neves wrote:
I don't think how big the files are is revelant for me, a user
of the standard library. If I want to do something with paths
and don't want to roll my own code, I pay a price for it in D,
whereas it's relatively free with Go. It makes me want to
substitute every usage of std.path.buildPath in my code with
just `foo ~ "/" ~ bar ~ ...`.
That will also be _faster_ at runtime ;-)
std.path is a performance nightmare.
My favorite example is buildNormalizedPath:
https://github.com/dlang/phobos/blob/2e105c72a9e5fa028f31f1898ec8d479a9bae4a1/std/path.d#L1738
We ought to start to separate: the good, the bad and the ugly
modules.