caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: malc <malc@pulsesoft.com>
To: Andries Hekstra <andries.hekstra@philips.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Funny effect computation time
Date: Sun, 18 Dec 2005 18:04:08 +0300 (MSK)	[thread overview]
Message-ID: <Pine.LNX.4.61.0512181759010.1107@home.oyster.ru> (raw)
In-Reply-To: <OF270D6FEB.64D91E96-ONC12570DB.00423925-C12570DB.004EAE5E@philips.com>

On Sun, 18 Dec 2005, Andries Hekstra wrote:

> Dear OCaml-list,
>
> I would like to thank several people of the ocaml list for constructive
> comments to the LDPC decoder program I posted earlier. I attached the
> revised Main.ml to this email.
>
> I noticed that when compiling Main.ml with -inline 100 -noassert -unsafe
> on a Pentium M, and I removing the unused argument messageCheckNodeOut of
> the function processCheckNode (resulting in Main2.ml), the computation
> time increases ca. 1.5-fold. I wonder whether this has to do with
> (un)boxing?

It's hard to say why OCaml somtimes produces the code the way it does,
it's even harder to predict how it will be intrepreted by different
"modern" CPUs. Here's a list of potentially useful links.

http://groups.google.com/group/fa.caml/browse_frm/thread/9c152a39b30c88d5/080df2a83aa2d878?lnk=st&q=group%3Afa.caml+author%3Amalc+faster&rnum=3#080df2a83aa2d878
http://groups.google.com/group/fa.caml/browse_thread/thread/624ed8213174b634/f5371b023927cc8e?lnk=st&q=group%3Afa.caml+author%3Amalc&rnum=15#f5371b023927cc8e
http://groups.google.com/group/fa.caml/browse_frm/thread/c9e40e633120a79/5f14ce70f4a35373?tvc=1&q=group%3Afa.caml+author%3Amalc#5f14ce70f4a35373
http://groups.google.com/group/comp.lang.functional/browse_frm/thread/4a6159c5beef192a/689140a6436f558f?lnk=st&q=malc+stand+corrected+ocaml&rnum=1#689140a6436f558f

-- 
mailto:malc@pulsesoft.com


      reply	other threads:[~2005-12-18 15:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-18 14:17 Andries Hekstra
2005-12-18 15:04 ` 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.61.0512181759010.1107@home.oyster.ru \
    --to=malc@pulsesoft.com \
    --cc=andries.hekstra@philips.com \
    --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;
as well as URLs for NNTP newsgroup(s).