hhugo
hhugo
What about more debug (event) information ?
could we improve sourcemap generation with more debug information ?
caml_alloc_dummy_closure => https://github.com/hhugo/ocaml/compare/jsoo_friendly
limits due to runtime representation should/could be set from the runtime. - `Sys.max_array_length` - `Sys.int_size` (new)
https://github.com/ocaml/ocaml/pull/37
https://github.com/ocaml/ocaml/pull/36
How would you compile OCaml value to Js Object ? One constructor per tag and size couple ?
@vouillon, a quick experiment with compiling ocaml blocks to Js objects shows poor performances. x2.5 slower on @jordwalke example. (deriving and marshall not updated) https://github.com/ocsigen/js_of_ocaml/tree/caml_block https://github.com/hhugo/ocaml/tree/make_array
I've update the code (regression inside) to use non-numeric fields. It's better but still a little bit slower than the current implem.
> If `String.copy` and `(^)` were implemented as primitive, we could more easily generate efficient code for them. I believe we are now closer to optimize theses string operations (xlink...