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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 53233BB84 for ; Fri, 19 May 2006 08:21:26 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k4J6LP69015313 for ; Fri, 19 May 2006 08:21:26 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA15464 for ; Fri, 19 May 2006 08:21:25 +0200 (MET DST) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k4J6LOPS027260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 19 May 2006 08:21:25 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from first.in-berlin.de (e178025247.adsl.alicedsl.de [85.178.25.247]) (authenticated bits=0) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id k4J6LOpv009966 for ; Fri, 19 May 2006 08:21:24 +0200 Received: by first.in-berlin.de (Postfix, from userid 501) id DF467286D49; Fri, 19 May 2006 08:21:27 +0200 (CEST) Date: Fri, 19 May 2006 08:21:27 +0200 From: Oliver Bandel To: caml-list@inria.fr Subject: Re: [Caml-list] Array 4 MB size limit Message-ID: <20060519062127.GE393@first.in-berlin.de> References: <20060515141230.ajyupn2z28k0484s@horde.akalin.cx> <446986DF.1070308@inria.fr> <446D5E4A.8060005@akalin.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446D5E4A.8060005@akalin.cx> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Miltered: at concorde with ID 446D63E5.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 446D63E4.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bandel:01 in-berlin:01 bigarrays:01 vectors:01 arrays:01 arrays:01 2006:98 wrote:01 caml-list:01 abstract:01 oliver:01 oliver:01 encode:01 lisp:01 data:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 On Thu, May 18, 2006 at 10:57:30PM -0700, Frederick Akalin wrote: [...] > I see. This is a perfectly reasonable explanation. I ended up just > using Bigarrays of floats for now and converting from those to 3-d > vectors on demand (what I need), but it would be nice to have a type > that wraps around Array that can get around the 4M limit (using an array > of arrays like someone suggested earlier). It's sad, but I think 32-bit > is going to be around for a while, and surely I can't be the only person > to run up against this. :) Not that I mind writing such a library and > releasing it. I wonder if the Extlib guys would be interested... > >A better idea would be to determine exactly what data structure you need: > >which abstract operations, what performance requirements, etc. C++ > >and Lisp programmers tend to encode everything as arrays or lists, > >respectively, but quite often these are not the best data structure > >for the application of interest. [...] You have > 4 Million points? What datastructure are you using right now? Some code to show? Ciao, Oliver