You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #118239 - scottmcm:alternative_layout_array, r=<try>
Use `usize::checked_mul` for `Layout::array` checks again
I found a little trick that allows us to check the `isize::MAX` limit using `usize::checked_mul`. No idea whether that's a good idea, but let's see what perf has to say...
Inspired by #118228
r? `@ghost`
0 commit comments