Commit 45f6d6c
committed
Remove unneeded list concat on reduce
The original reduce implementation simply converted the buffer to a list
and used the normal list reduce implementation. Conversion to a list
involves a list concatenation which can be removed by manually iterating
through the a and b lists.1 parent 910843d commit 45f6d6c
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
133 | 139 | | |
134 | 140 | | |
135 | 141 | | |
| |||
0 commit comments