Commit f6813b8
committed
Remove unnecessary allocation in var_axis
It's possible to use `.mapv_into()` instead of `.mapv()` in this case
because the element type doesn't change. Switching to `.mapv_into()`
doesn't have a noticeable impact on benchmarks, but it's worth doing
anyway just to avoid the extra allocation.1 parent fbac78b commit f6813b8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
0 commit comments