Commit 83c68ce
committed
Simplify computation of mismatched parts for error messages
Before we were doing:
common = intersection(actual, expected)
uncommon = difference(actual, common)
But the second clause is:
actual and not (actual and expected)
Which is literally the same as:
actual and not expected
But much faster as it avoids the large nesting of BDDs.
Closes #14836.1 parent 184b724 commit 83c68ce
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
1286 | | - | |
| 1286 | + | |
1287 | 1287 | | |
1288 | 1288 | | |
1289 | 1289 | | |
| |||
0 commit comments