You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I recently tested on your version the latest v5.1+ version, with the following piece of code:
letrec binomkn=if k <0|| k > n then0elseif k =0|| k = n then1else binom k (n -1) + binom (k -1) (n -1)
;;
let debut =Sys.time()inlet b_15_30 = binom 1530inlet fin =Sys.time()inPrintf.printf "binom 15 30 a pris %g secondes\n" (fin -. debut);
b_15_30;;
Is there any reason for such a large difference?
I don't have a v5+ OCaml toplevel installed locally and won't install it now, so I can't test offline, but the difference seems huge.
Thanks for the answer, if you have any idea why 😄 !
The text was updated successfully, but these errors were encountered:
Hi there,
I recently tested on your version the latest v5.1+ version, with the following piece of code:
It gives about 3.5 seconds on http://ocaml.besson.link/, hosting the version 4.14.1 of BetterOCaml, and about 16.117 seconds on your most recent version on https://jbdoderlein.github.io/BetterOCaml/?version=5.1.1.
Is there any reason for such a large difference?
I don't have a v5+ OCaml toplevel installed locally and won't install it now, so I can't test offline, but the difference seems huge.
Thanks for the answer, if you have any idea why 😄 !
The text was updated successfully, but these errors were encountered: