From: Christophe Raffalli <christophe.raffalli@univ-savoie.fr>
To: Pascal Cuoq <Pascal.Cuoq@cea.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Physical counterpart to Pervasives.compare?
Date: Tue, 25 Aug 2009 20:03:32 +0200 [thread overview]
Message-ID: <4A942774.8000208@univ-savoie.fr> (raw)
In-Reply-To: <67BF878D-BA80-4CE8-87BA-760AE8082517@cea.fr>
[-- Attachment #1: Type: text/plain, Size: 533 bytes --]
>
> But you should still do the comparison
> with a unique C function written for this purpose.
> If you tried to use a "convert address to int" function,
> you would have a race condition between the conversion
> of each address and garbage collection.
Or, if all major GCs are compacting and the minor heap is at
a higher adress than the major heap, then OCaml's could also
preserve the adress order between GC ...
How much slower is the compacting major GC comparer
to the standard one ?
Cheers,
Christophe
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]
next prev parent reply other threads:[~2009-08-25 17:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090824100004.6DBBDBBAF@yquem.inria.fr>
2009-08-24 12:30 ` Pascal Cuoq
2009-08-25 18:03 ` Christophe Raffalli [this message]
2009-08-26 10:25 ` Damien Doligez
[not found] <20090729030710.BB3C6BC5C@yquem.inria.fr>
2009-07-29 7:04 ` Pascal Cuoq
2009-08-24 7:01 ` Jean-Christophe Filliâtre
2009-07-29 1:25 Elnatan Reisner
2009-07-29 3:06 ` [Caml-list] " Edgar Friendly
2009-07-29 3:58 ` Edgar Friendly
2009-07-29 6:13 ` Alain Frisch
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=4A942774.8000208@univ-savoie.fr \
--to=christophe.raffalli@univ-savoie.fr \
--cc=Pascal.Cuoq@cea.fr \
--cc=caml-list@yquem.inria.fr \
/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