Speeding up importing Phobos files

KnightMare black80 at bk.ru
Fri Jun 7 12:50:27 UTC 2019


zip-archive allows you to unpack the file in its original form.
unpacking allows to see source code.

ur version - join sources to one file - is more complicated
// file pack/a.d
module pack.one;
//...

// file pack/b.d
module pack.one;
//...

// ur package
package pack
{
     module one {
         // both files here?
     }

     @file( "pack/b.d" ); // ???
     module one {
         // or separate?
     }
     // how to restore individual files? need some special comment 
or attrs
}


More information about the Digitalmars-d mailing list