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
non-square big arrays
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-06 (20:59)
From: Hal Daume III <hal@c...>
Subject: non-square big arrays
I have code that, right now, uses "int array array" to store lots of
things, but in some cases I run out of indices in the outer array (the
inner arrays are always fine, but I hit the max array length limit on
the outside).

I would be happy to switch over to bigarrays, but my understanding is
that 2D bigarrays have to be square.  I cannot possible have square
arrays (it would take too much memory).  Is there an obvious way around
this that I'm missing?

 Hal Daume III --- me AT hal3 DOT name  |  http://hal3.name
 "Arrest this man, he talks in maths."  |  http://nlpers.blogspot.com