When a theory with imports is opened, its imported theories (dependencies) are currently automatically submitted to Isabelle prover. Now if the editor on these theories is opened again, the theory contents are re-submitted fully to the prover.
This is unnecessary, since it requires re-running all proofs in the dependency theory as well as in all theories that import it. Instead, check if the theory is already submitted and just use the snapshot version (react to subsequent edits of course).
When a theory with imports is opened, its imported theories (dependencies) are currently automatically submitted to Isabelle prover. Now if the editor on these theories is opened again, the theory contents are re-submitted fully to the prover.
This is unnecessary, since it requires re-running all proofs in the dependency theory as well as in all theories that import it. Instead, check if the theory is already submitted and just use the snapshot version (react to subsequent edits of course).