feat(ivy): skip analysis of unchanged components (#30238)
Now that the dependent files and compilation scopes are being tracked in the incremental state, we can skip analysing and emitting source files if none of their dependent files have changed since the last compile. The computation of what files (and their dependencies) are unchanged is computed during reconciliation. This commit also removes the previous emission skipping logic, since this approach covers those cases already. PR Close #30238
This commit is contained in:

committed by
Alex Rickabaugh

parent
411524d341
commit
fbff03b476
@ -347,7 +347,7 @@ export class NgtscProgram implements api.Program {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (this.incrementalState.safeToSkipEmit(targetSourceFile)) {
|
||||
if (this.incrementalState.safeToSkip(targetSourceFile)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user