GeistHaus
log in · sign up

Reduce allocations in opamVersionCompare by talex5 · Pull Request #6144 · ocaml/opam

github.com

Test-case: let () let x0 = Gc.stat () in assert (OpamVersionCompare.compare "1.2.3" "1.02.3" == 0); let x1 = Gc.stat () in Printf.printf "minor_words: %.0f\n" ...

1 page links to this URL
OCaml 5 performance part 2

The last post looked at using various tools to understand why an OCaml 5 program was waiting a long time for IO. In this post, I'll be trying out …