Commit c861080
committed
Make RowsAffected faster
The current implementation uses two loops, first one to find out
where digits start and second one to loop over the digits. The
modified implementation starts at the end and loops till digits
end. It is a bit faster than baseline.1 parent fe8740a commit c861080
1 file changed
Lines changed: 8 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
780 | | - | |
781 | | - | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
782 | 784 | | |
783 | | - | |
784 | | - | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
785 | 789 | | |
786 | 790 | | |
787 | 791 | | |
788 | 792 | | |
789 | 793 | | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | 794 | | |
800 | 795 | | |
801 | 796 | | |
| |||
0 commit comments