caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: ygrek <ygrekheretix@gmail.com>
To: Goswin von Brederlow <goswin-v-b@web.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] no_scan_tag and int array
Date: Sun, 7 Mar 2010 16:07:36 +0200	[thread overview]
Message-ID: <20100307160736.9a407839.ygrekheretix@gmail.com> (raw)
In-Reply-To: <87eijxot1o.fsf@frosties.localdomain>

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


  reply	other threads:[~2010-03-07 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-06  9:26 ygrek
2010-03-07  0:48 ` [Caml-list] " Goswin von Brederlow
2010-03-07 14:07   ` ygrek [this message]
2010-03-29 15:34 ` Damien Doligez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100307160736.9a407839.ygrekheretix@gmail.com \
    --to=ygrekheretix@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=goswin-v-b@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).