I am running some OCaml/js_of_ocaml code in Chrome, and at runtime, in bright red, it prints to dev console:
caml_js_expr: fallback to runtime evaluation
I am trying to understand what is going on here (and why it is important).
Is the issue that
Js.Unsafe.js_expr expects a CONSTANT string … and is unhappy when we pass it a string that is constructed at runtime ? If so, why does this matter ? Is there some runtime penalty associated with this ?