Commit 478790e
Fix performance regression in broadcasting with CartesianIndices (#39333)
* Fix performance regression in broadcasting with CartesianIndices
This avoids the boundary check due to a change in the implementation
of iteration using `CartecianIndices` in PR #37829.
This is a workaround on the caller side and does not change
the iteration mechanism itself.
Co-authored-by: Matt Bauman <mbauman@gmail.com>
Co-authored-by: thofma <thofma@gmail.com>
(cherry picked from commit a4cd68c)1 parent 8552bcc commit 478790e
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
981 | | - | |
982 | | - | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
983 | 985 | | |
984 | 986 | | |
985 | 987 | | |
| |||
0 commit comments