Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: Markus Mottl <markus.mottl@gmail.com>
Cc: Yitzhak Mandelbaum <yitzhakm@cs.princeton.edu>,
	Caml-list List <caml-list@inria.fr>
Subject: Re: [Caml-list] float array/record unboxing
Date: Tue, 12 May 2009 00:30:17 +0400 (MSD)	[thread overview]
Message-ID: <Pine.LNX.4.64.0905120028250.2840@linmac.oyster.ru> (raw)
In-Reply-To: <f8560b80905111149g7acfff67q32a79519b7a96b2c@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1171 bytes --]

On Mon, 11 May 2009, Markus Mottl wrote:

> On Mon, May 11, 2009 at 13:49, Yitzhak Mandelbaum
> <yitzhakm@cs.princeton.edu> wrote:
> > Does anyone know whether float arrays/records are unboxed if float is used
> > to instantiate a  type parameter? E.g.
> [snip]
> 
> Since functor applications are currently not inlined, the generated
> code for the functor body has no way of seeing that its dealing with
> an all-floats record.  Hence the record will contain boxed floats.
> 
> > 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?
> 
> I don't think this is documented anywhere, since this is an
> implementation detail that (though unlikely) might even change in the
> future.

This reminded me of a question i asked, what seemed like a jiffy ago:
http://groups.google.com/group/fa.caml/browse_thread/thread/e5e0d989e53de0a1/c64a14722acb0153?hl=en

Given what have been said in that thread the detail becomes worthy of
a mention somewhere.

-- 
mailto:av1474@comtv.ru

      reply	other threads:[~2009-05-11 20:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11 17:49 Yitzhak Mandelbaum
2009-05-11 18:49 ` [Caml-list] " Markus Mottl
2009-05-11 20:30   ` malc [this message]

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=Pine.LNX.4.64.0905120028250.2840@linmac.oyster.ru \
    --to=av1474@comtv.ru \
    --cc=caml-list@inria.fr \
    --cc=markus.mottl@gmail.com \
    --cc=yitzhakm@cs.princeton.edu \
    /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