How to break module into multiple file.

Robert Clipsham robert at octarineparrot.com
Thu May 12 11:29:41 PDT 2011


On 12/05/2011 19:25, Adam Ruppe wrote:
> Maybe million line programs will be unacceptably slow, but I don't
> know, I'd have to actually see it being a problem in practice
> before I get worked up about it. tbh I wouldn't be surprised if
> the incremental build was actually slower than the all at once in
> a lot of situations.

It's a lot slower in almost all situations I've encountered... It's also 
buggier due to templates only being emitted once (though I've never run 
into this issue personally, I know others have).

> (Though, naming the packages and modules to match the filesystem is
> a small cost anyway - it makes it easier to find the files so usually
> the best choice anyway.)


-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d-learn mailing list