* [Caml-list] unsafe gets and sets on bigarrays?
@ 2001-03-05 8:01 Chris Hecker
0 siblings, 0 replies; only message in thread
From: Chris Hecker @ 2001-03-05 8:01 UTC (permalink / raw)
To: caml-list
Looking at the asm output of this snippet, I can't seem to get rid of the bounds check on the bigarray, even compiling with -unsafe. Is there an unsafe_get and unsafe_set for bigarrays, or plans to add them?
open Bigarray
let _ =
let a = Array1.create float32 c_layout 100 in
a.{0} <- 3.141;
print_float a.{0}
Chris
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-05 8:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-05 8:01 [Caml-list] unsafe gets and sets on bigarrays? Chris Hecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox