make int compare(slice, slice) public