Chromium Code Reviews
DescriptionAvoid O(n^2) behavior in Barback.
This changes [Phase.isDirty] and [Phase.onDone] to consider a phase
dirty if any previous phase is also dirty. Not only is this more
efficient, it's more accurate, since now [Phase.isDirty] is true
exactly when it's possible that a phase will emit new outputs.
R=rnystrom@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=33447
Patch Set 1 #
Total comments: 6
Patch Set 2 : code review #
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||||||||||||||||||||