Benchmarking bucklescript vs. js_of_ocaml

What is the ref optimization that has been mentioned in this thread?