strings: add Compare(x, y string) int, for symmetry with bytes.Compare
The implementation is the same assembly (or Go) routine. Change-Id: Ib937c461c24ad2d5be9b692b4eed40d9eb031412 Reviewed-on: https://go-review.googlesource.com/2828Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Showing
src/strings/compare_test.go
0 → 100644
Please register or sign in to comment