From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 1233CBC37 for ; Wed, 28 Oct 2009 22:26:47 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al0GAANU6EpQW+UMgGdsb2JhbACbQQEBFCZHAwEBvkOEPwSBYQ X-IronPort-AV: E=Sophos;i="4.44,641,1249250400"; d="scan'208";a="35774887" Received: from lo.gmane.org ([80.91.229.12]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 28 Oct 2009 22:26:46 +0100 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N3G2X-0006Oh-F8 for caml-list@inria.fr; Wed, 28 Oct 2009 22:26:45 +0100 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Oct 2009 22:26:45 +0100 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Oct 2009 22:26:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: How to read different ints from a Bigarray? Date: Wed, 28 Oct 2009 21:26:21 +0000 (UTC) Message-ID: References: <87eiond3of.fsf@frosties.localdomain> <87639zd0m9.fsf@frosties.localdomain> <87tyxj5rkv.fsf@frosties.localdomain> <87my3bnsa1.fsf@frosties.localdomain> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre1.0.0-11 (Linux) Sender: news X-Spam: no; 0.00; le-gall:01 bigarray:01 le-gall:01 stubs:01 wrote:01 wrote:01 ints:01 int:01 writes:01 writes:01 bits:05 implement:06 probably:07 bit:11 think:13 On 28-10-2009, Goswin von Brederlow wrote: > Sylvain Le Gall writes: >> On 28-10-2009, Goswin von Brederlow wrote: >>> Sylvain Le Gall writes: >>>> On 28-10-2009, Goswin von Brederlow wrote: >>>>> Sylvain Le Gall writes: >>>>>> On 28-10-2009, Goswin von Brederlow wrote: >>> >>> a.{i} <- x for each. >>> >>> I think I will implement your method and C stubs for every set/get and >>> compare. >> >> This is only the case with int64 array in fact (I really have done test >> and you don't need a C call in most case). > > Can I assume you tested on a 32bit cpu? > Yes. There is probably even less case on 64bits CPU. Regards, Sylvain Le Gall