js_of_ocaml icon indicating copy to clipboard operation
js_of_ocaml copied to clipboard

Runtime: use monomorphic representation for MlBytes

Open hhugo opened this issue 4 years ago • 1 comments

Using deoptigate to check performances/optimizations

probably blocked by #1045

hhugo avatar Jan 18 '22 14:01 hhugo

If we make Bytes.unsafe_of_string O(n), we would need to fix String.sub, String.get_intN_*, String.get_uintN_*, String.get_utf_*, String.is_valid_utf_*. They convert the whole string argument to bytes but only look at a small subset.

hhugo avatar Oct 14 '24 15:10 hhugo