From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA06154; Mon, 5 Mar 2001 09:01:32 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA06432 for ; Mon, 5 Mar 2001 09:01:31 +0100 (MET) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f2581U900729 for ; Mon, 5 Mar 2001 09:01:30 +0100 (MET) Received: from checkerlap.d6.com ([64.160.53.162]) by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0G9P00MJ3SXY3J@mta5.snfc21.pbi.net> for caml-list@inria.fr; Mon, 5 Mar 2001 00:01:11 -0800 (PST) Date: Mon, 05 Mar 2001 00:01:59 -0800 From: Chris Hecker Subject: [Caml-list] unsafe gets and sets on bigarrays? X-Sender: def6@shell16.ba.best.com To: caml-list@inria.fr Message-id: <4.3.2.7.2.20010304235832.00e1be00@shell16.ba.best.com> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Content-type: text/plain; charset="us-ascii" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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