Xu, Qian wrote:
"Denis Koroskin" <[email protected]> wrote in message news:[email protected]...
It's certainly much faster to generate 1 header file than recompile all the dependencies each time.

Yes. but it works for certain redundancy (like comments) only.
If you change your implementation not your interface, the header file will be changed as well. so I cannot take much advantage of header files of D. (Am I wrong?)

DMD should only include bodies for functions it considers for inlining. That should mean the header might change due to changes in small functions, but probably not for changes in big ones.

(I'm not sure how GDC handles this. I do know LDC does inlining later in the process (*after* "codegen"), but I'm not sure what header generation does)

Reply via email to