The idea is to eliminate bound checks for: `arr[(int)index % arr.Length]` when `index >= 0` `arr[arr.Length % (int)index]` when `arr.Length > 0 and index <= arr.Length` `arr[(uint)arr.Length % (uint)index]` when `arr.Length > 0 and index <= arr.Length`
The idea is to eliminate bound checks for:
arr[(int)index % arr.Length]whenindex >= 0arr[arr.Length % (int)index]whenarr.Length > 0 and index <= arr.Lengtharr[(uint)arr.Length % (uint)index]whenarr.Length > 0 and index <= arr.Length