Hi, > In particular: > > * All arrays are assumed contiguous on entry and both arr and key must be > of <----- > * the same comparable type. <----- In which case, this seems to be an overly strict implementation of searchsorted. Surely all that should be required is that the comparison function can take both types. James