fn maxIndex(self: *const Self) ?usize self: *const Self153
154
155
156
157
158 fn maxIndex(self: *const Self) ?usize {
if (self.len == 0) return null;
if (self.len == 1) return 0;
if (self.len == 2) return 1;
return self.bestItemAtIndices(1, 2, .gt).index;
}