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
[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: 2004-09-09 (05:09)
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 Archives:
Bug reports: FAQ:
Beginner's list: