Repository navigation
Commit e98510e
committed
Add a new value iterator that yields values rather than Ptrs
Cloning Ptr isn't cheap, so this is a nice alternative
Optimize a few rules to use this new iterator1 parent 01d3f76 commit e98510e
12 files changed
Lines changed: 691 additions & 865 deletions
File tree
- libcc2rs/src
- rules
- algorithm
- vector
- tests/unit/out/refcount
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
634 | 668 | | |
635 | 669 | | |
636 | 670 | | |
| |||
697 | 731 | | |
698 | 732 | | |
699 | 733 | | |
700 | | - | |
| 734 | + | |
701 | 735 | | |
702 | 736 | | |
703 | 737 | | |
| |||
723 | 757 | | |
724 | 758 | | |
725 | 759 | | |
726 | | - | |
| 760 | + | |
727 | 761 | | |
728 | 762 | | |
729 | 763 | | |
| |||
1005 | 1039 | | |
1006 | 1040 | | |
1007 | 1041 | | |
1008 | | - | |
| 1042 | + | |
1009 | 1043 | | |
1010 | 1044 | | |
1011 | 1045 | | |
| |||
0 commit comments