- Notifications
You must be signed in to change notification settings - Fork294
Commit2310bd8
Make scanning for meta encoding much quicker
Previously, this code tried to match everything with stringsbeginning with "<"; now we jump forward to each "<" and comparethere. This also alters the jumpTo implementation to avoidcomputing a (perhaps long) slice, making repeated calls O(n^2).1 parent4b8cabf commit2310bd8
1 file changed
+8
-8
lines changedLines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
668 | 668 |
| |
669 | 669 |
| |
670 | 670 |
| |
671 |
| - | |
672 |
| - | |
673 |
| - | |
674 |
| - | |
675 |
| - | |
676 |
| - | |
677 |
| - | |
678 |
| - | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
679 | 674 |
| |
| 675 | + | |
680 | 676 |
| |
681 | 677 |
| |
682 | 678 |
| |
| |||
697 | 693 |
| |
698 | 694 |
| |
699 | 695 |
| |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
700 | 700 |
| |
701 | 701 |
| |
702 | 702 |
| |
|
0 commit comments
Comments
(0)