From: Damien Doligez <Damien.Doligez@inria.fr>
To: patrick.goldbronn@cea.fr
Cc: caml-list@inria.fr
Subject: Re: le GC et les bidouilles en C
Date: Fri, 20 Aug 1999 17:57:56 +0200 [thread overview]
Message-ID: <199908201557.RAA18349@tobago.inria.fr> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
>From: Patrick Goldbronn - SYSCO <patrick.goldbronn@cea.fr>
>Je déclare un type record :
>type toto = {
> un : float array ;
> deux : int ;
>} ;;
>modify(&Field(mytoto_v,1),Val_int(1)) ;
ou bien:
Store_field (mytoto_v, 1, Val_int (1));
>Il n'y a pas besoin de declarer "deux" mutable ?
Dans l'implementation actuelle, non, MAIS il est facile d'imaginer des
optimisations qui seraient cassees par cette absence de declaration.
Donc il vaut mieux declarer "deux" mutable.
-- Damien
next reply other threads:[~1999-08-22 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-20 15:57 Damien Doligez [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-08-05 8:58 Patrick Goldbronn - SYSCO
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=199908201557.RAA18349@tobago.inria.fr \
--to=damien.doligez@inria.fr \
--cc=caml-list@inria.fr \
--cc=patrick.goldbronn@cea.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