public int Compare(Slice x, Slice y) { return(ByteUtils.ByteArrayCompare(x.ToByteArray(deepCopy: false), y.ToByteArray(deepCopy: false))); }
private byte[] HashedIndexName(string indexAttrName) { return(DocumentConverter <T> .IndexNamesCache.GetOrAdd( indexAttrName, _ => ByteUtils.Hash(ByteUtils.StringToBytes(indexAttrName)))); }