Commit b862347
committed
Break out of some loops in sort-comp
I noticed a couple of cases where we continue looping even though we
don't need to anymore. In these special keyword cases, we can break out
of these loops as soon as we find a match to get a little bit of a speed
boost.1 parent 1bc58f4 commit b862347
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
0 commit comments