> but by your definition every function that operates on sorted arrays and doesn't verify the input is sorted is inherently unsafe
Are you claiming it’s not? verify all input should be the baseline to call something safe imho.
Are you claiming it’s not? verify all input should be the baseline to call something safe imho.