public void Fastenshtein_1_0_0_5() { for (int i = 0; i < words.Length; i++) { var levenshtein = new global::Fastenshtein.Benchmarking.FastenshteinOld.Fastenshtein_1_0_0_5(words[i]); for (int j = 0; j < words.Length; j++) { levenshtein.DistanceFrom(words[j]); } } }
public void Fastenshtein_1_0_0_5() { Parallel.For(0, words.Length, i => { var levenshtein = new global::Fastenshtein.Benchmarking.FastenshteinOld.Fastenshtein_1_0_0_5(words[i]); for (int j = 0; j < words.Length; j++) { levenshtein.DistanceFrom(words[j]); } }); }
public void Fastenshtein_1_0_0_5() { var levenshtein = new global::Fastenshtein.Benchmarking.FastenshteinOld.Fastenshtein_1_0_0_5("test"); levenshtein.DistanceFrom("test"); }
public int Fastenshtein_1_0_0_5() { var levenshtein = new global::Fastenshtein.Benchmarking.FastenshteinOld.Fastenshtein_1_0_0_5("test"); return(levenshtein.DistanceFrom("test")); }