[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | ygrek <ygrekheretix@g...> |
| Subject: | Re: [Caml-list] no_scan_tag and int array |
On Sun, 07 Mar 2010 01:48:51 +0100 Goswin von Brederlow <goswin-v-b@web.de> wrote: > What polymorphic array function? I don't think Array.length is a good > test as it looks at the header of the array to see how many words the > array has. Sure, I've tested this elsewhere with Array.iter and other. Array.length here is just to keep the array alive. > > GC correctly reclaims array memory when it is not referenced anymore. > > Apparantly this trick is not allowed for float array as they have a special tag set. > > But does the GC scan float arrays? No. -- ygrek http://ygrek.org.ua