Add caching for generated files
dergraaf opened this issue · 3 comments
dergraaf commented
Files should not be regenerated if the configuration did not change.
salkinium commented
I'm not sure how much time this will save tho. For reference, building node tree for lbuild discover
for a large modm example takes ~0.7s, generating the the selected modules takes ~1.8s.
Ok, generating the whole library takes ~5s. Good point.
salkinium commented
This needs to be super robust though. There is nothing worse than to start mistrusting lbuild because it didn't rebuild something.