Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Gripes with array
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ville-Pertti Keinonen <will@e...>
Subject: Re: [Caml-list] Gripes with array
Jon Harrop wrote:

>Does anyone have any pointers to information about the origin of the size 
>limit for arrays? I assume it is something to do with the garbage collector 
>using a fixed-size tag instead of a variable-size one but I'd be interested 
>in the details.
>  
>
You're correct, see byterun/mlvalues.h for details.

I suspect variable-length tags would probably increase complexity and 
decrease performance considerably...and personally I hope we'll all be 
migrating to 64-bit architectures soon, anyhow.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners