¡@

Home 

c# Programming Glossary: min3

Why is this F# code so slow?

http://stackoverflow.com/questions/6104221/why-is-this-f-code-so-slow

it is broken. Working code is here . C# private static int min3 int a int b int c return Math.Min Math.Min a b c public static.. i d0 0 i var ui m i for int j 1 j n.Length j d0 j 1 min3 d1 j d0 j 1 d1 j 1 ui n j 1 0 Array.Copy d0 d1 d1.Length return.. 0 Array.Copy d0 d1 d1.Length return d0 n.Length 1 F# let min3 a b c min a min b c let levenshtein m string n string let d1..