3 ms·
OCaml has native support for unboxed ("flat") double arrays. https://github.com/ocaml/ocaml/blob/d3e73595e55e84250fa77f04e9c239dee1224b7b/runtime/caml/mlvalues
by tomp 7y ago
OCaml has native support for unboxed ("flat") double arrays.
https://github.com/ocaml/ocaml/blob/d3e73595e55e84250fa77f04e9c239dee1224b7b/runtime/caml/mlvalues.h#L279 https://github.com/ocaml/ocaml/blob/d3e73595e55e84250fa77f04...
- StefanKarpinski 7y agoBut only for doubles as a one-off thing? That's more than a little a bit unsatisfying...