From: Yitzhak Mandelbaum <yitzhakm@CS.Princeton.EDU>
To: Caml-list List <caml-list@inria.fr>
Subject: float array/record unboxing
Date: Mon, 11 May 2009 13:49:37 -0400 [thread overview]
Message-ID: <FCF3D545-5CAA-4290-96EF-395D9160E91D@cs.princeton.edu> (raw)
hi,
Does anyone know whether float arrays/records are unboxed if float is
used to instantiate a type parameter? E.g.
module F (R:sig type t end) = struct
type foo = { a1 : R.t; b1 : R.t; }
end
module M = F(struct type t = float end)
Is M.foo an unboxed array of floats (as per Chapter 18.3.2 in the
manual) or not? Empirical evidence suggests that the floats *are*
boxed. If this is the case, can anyone point me to where this feature
is documented?
Thanks,
Yitzhak
-----------------------------
Yitzhak Mandelbaum
next reply other threads:[~2009-05-11 17:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 17:49 Yitzhak Mandelbaum [this message]
2009-05-11 18:49 ` [Caml-list] " Markus Mottl
2009-05-11 20:30 ` malc
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=FCF3D545-5CAA-4290-96EF-395D9160E91D@cs.princeton.edu \
--to=yitzhakm@cs.princeton.edu \
--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