Honey, I shrunk the build times
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jun 7 02:36:25 PDT 2015
On 2015-06-07 06:30, Andrei Alexandrescu wrote:
> Thanks for asking. The situation before went like this: to build
> libphobos2.a, the command would go like this (simplified to just a few
> files and flags:
>
> dmd -oflibphobos2.a std/datetime.d std/conv.d std/algorithm/comparison.d
> std/algorithm/iteration.d
>
> So all modules would go together in one command to build the library.
> With the package-at-a-time approach, we build one directory at a time
> like this:
I'm wondering if the impovements would have been larger if Phobos had a
more tree structure for the modules rather than a fairly flat structure.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list