DEV Community

Discussion on: Golden Search Algorithm in F#

Collapse
 
anthonylloyd123 profile image
Anthony Lloyd

You are evaluating the function too often. You should only need to evaluate once for each iteration. You can see this if you put a printfn in the function and see the repeated same calls.