niklas-heer / speed-comparison

A repo which compares the speed of different programming languages.
https://niklas-heer.github.io/speed-comparison
MIT License
475 stars 76 forks source link

Add OCaml #112

Open yawaramin opened 1 year ago

yawaramin commented 1 year ago

Use imperative algorithm as OCaml compiler cannot unbox floats across function calls, see https://discuss.ocaml.org/t/ocaml-speed-comparison-calculating-pi-with-leibniz-optimize/12112/2?u=yawaramin