I discovered that we are loading interface files twice, and still loading them when doing a clean build, which adds unneded overhead. This change refactors compileGrammar and compileInterface slightly to avoid these issues and shave a few seconds off of builds.
Documentation
Internal change, added a couple comments.
Testing
I verified this works by touching various files and manually rebuilding Silver a few times.
Changes
I discovered that we are loading interface files twice, and still loading them when doing a clean build, which adds unneded overhead. This change refactors
compileGrammar
andcompileInterface
slightly to avoid these issues and shave a few seconds off of builds.Documentation
Internal change, added a couple comments.
Testing
I verified this works by touching various files and manually rebuilding Silver a few times.