From: j.romildo@gmail.com
To: caml-list@inria.fr
Subject: mutable record fields and performance
Date: Sat, 21 Oct 2006 00:41:25 -0300 [thread overview]
Message-ID: <20061021034125.GA15596@malaquias.gwiceb1> (raw)
Hello.
How do the implementation of mutable and imuttable record fields differ
in ocaml? Have them any impact on field access performance?
That is, the expression p.x has different performances for the types
{ x:int } and { mutable x:int } for p?
In summary, what additional cost does the use of mutable imposes on a
record field?
Romildo
next reply other threads:[~2006-10-21 3:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-21 3:41 j.romildo [this message]
2006-10-24 20:12 ` [Caml-list] " Florian Weimer
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=20061021034125.GA15596@malaquias.gwiceb1 \
--to=j.romildo@gmail.com \
--cc=caml-list@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;
as well as URLs for NNTP newsgroup(s).