Do unused and excluded items in a project affect build time?

Our app, quite a large one, takes quite some time to 'build' initially ("run locally"). Luckily "update running project" is much faster, but still not anywhere near about 10 seconds. I was wondering how to improve those building times and noticed the big number of unused items and excluded documents in our project. So a simple question: do unused and/or excluded items (pages, microflows, etc.) affect the time to "run locally" ?
1 answers

Excluded documents are not considered when deploying.

Unused documents are deployed. The Modeler cannot be entirely sure whether something is unused. For example, a microflow can be called through a Java action which is invisible to the Modeler that only looks at the model, not the Java source code.

Project size is the most important factor for deployment time.