Commit 94cda30
authored
Rearrange Comments::set (open-source-parsers#1278)
* slightly optimize Comments::set
Avoid allocation if the set is going to be rejected anyway.
Prototype suggestion from open-source-parsers#1277 review thread1 parent 1ee39a6 commit 94cda30
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | | - | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
1402 | 1404 | | |
1403 | | - | |
1404 | | - | |
1405 | | - | |
1406 | | - | |
1407 | | - | |
| 1405 | + | |
1408 | 1406 | | |
1409 | 1407 | | |
1410 | 1408 | | |
| |||
0 commit comments