English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Array 4 MB size limit
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-05-19 (06:21)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] Array 4 MB size limit
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?