Commit c647af9
Avoid boxing mergedface by making it toplevel
Running a benchmark on a large, heavily annotated string we see a 25%
reduction in runtime (12.9ms -> 9.5ms) and a 29% reduction in
allocations (408k -> 290k).1 parent a117008 commit c647af9
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
530 | 535 | | |
531 | 536 | | |
532 | 537 | | |
| |||
535 | 540 | | |
536 | 541 | | |
537 | 542 | | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 543 | + | |
542 | 544 | | |
543 | 545 | | |
544 | 546 | | |
| |||
0 commit comments