Commit a0fdb7d
committed
Use fplus::transform with rvalue in transform_tensor
Passes a copy of the source vector as an rvalue, triggering fplus's
in-place transform path which uses std::begin() instead of
back_insert_iterator, allowing the compiler to vectorize the loop.1 parent 5686c8c commit a0fdb7d
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
| 193 | + | |
197 | 194 | | |
198 | 195 | | |
199 | 196 | | |
| |||
0 commit comments