Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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  |
 "Arrest this man, he talks in maths."  |