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
[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 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