I have multiple distance that I have to compute between element of two vectors of strings. I\'m using cdist to do it and it\'s fast but for big array it takes time, and I ha