# | Line 156 | Line 156 | import java.lang.invoke.VarHandle; | |
---|---|---|
156 | * }}</pre> | |
157 | * | |
158 | * As a further optimization, notice that the left task need not even exist. | |
159 | < | * Instead of creating a new one, we can iterate using the original task, |
159 | > | * Instead of creating a new one, we can continue using the original task, |
160 | * and add a pending count for each fork. Additionally, because no task | |
161 | * in this tree implements an {@link #onCompletion(CountedCompleter)} method, | |
162 | * {@code tryComplete} can be replaced with {@link #propagateCompletion}. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |