Assume I have two Daml projects:
huge there is an enormous Daml file, this is inherent, nothing to do about it. This results in quite slow compilation, that is expected.
small project I have only two very small Daml files, and a
data-dependency to the
huge DAR. I expected a fast compilation, however it takes almost the same amount of time as the other one.
If I add the DAR as
dependency the compilation is much faster. Why is that? I assumed it would be the other way around.
Rough figures are 0.45s vs 57s.