Unfortunately cstruct -> ocplib-endian -> ocaml builtins perform single byte loads and stores. We rely on single atomic loads and stores separated by memory barriers. Signed-off-by: David Scott <firstname.lastname@example.org>
…g string This will allow the diagnostics to fit naturally into a xenstore directory.
This avoids creating a temporary bigarray (which could be slow) but we need the new fast blit functions in Cstruct to make this fast. On this laptop, the ocaml code manages ~988 MiB/sec vs ~94 MiB/sec for the C.