From: Christophe TROESTLER <Christophe.Troestler@umh.ac.be>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: farr@mit.edu, shootout-list@lists.alioth.debian.org,
caml-list@yquem.inria.fr
Subject: Re: [Caml-list] [FP performance] Ocaml sums the harmonic series
Date: Sat, 15 Jan 2005 18:01:41 +0100 (CET) [thread overview]
Message-ID: <20050115.180141.123198241.Christophe.Troestler@umh.ac.be> (raw)
In-Reply-To: <20050115115519.GA11037@yquem.inria.fr>
On Sat, 15 Jan 2005, Xavier Leroy <Xavier.Leroy@inria.fr> wrote:
>
> !sum +. 0.0;;
>
> The + 0.0 at the end is ugly but convinces ocamlopt that !sum is
> best kept unboxed during the loop.
Since it always has a positive impact (at least w.r.t. the program
without it), would it be possible for ocamlopt to be convinced that it
is a good thing without having to write such a hack? Or are there
reasons why it is difficult to do?
Best regards,
ChriS
next prev parent reply other threads:[~2005-01-15 17:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-13 15:53 Ocaml sums the harmonic series -- four ways, four benchmarks: floating point performance Will M. Farr
2005-01-13 17:29 ` [Caml-list] " John Prevost
2005-01-13 19:01 ` Will M. Farr
2005-01-13 20:24 ` John Prevost
2005-01-13 20:50 ` Erik de Castro Lopo
2005-01-13 21:32 ` Erik de Castro Lopo
2005-01-15 11:55 ` Xavier Leroy
2005-01-15 15:49 ` Michal Moskal
2005-01-15 17:01 ` Christophe TROESTLER [this message]
2005-01-15 17:13 ` Yaron Minsky
2005-01-23 2:27 ` Oliver Bandel
2005-01-23 6:07 ` Will M. Farr
2005-01-23 15:18 ` Oliver Bandel
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=20050115.180141.123198241.Christophe.Troestler@umh.ac.be \
--to=christophe.troestler@umh.ac.be \
--cc=Xavier.Leroy@inria.fr \
--cc=caml-list@yquem.inria.fr \
--cc=farr@mit.edu \
--cc=shootout-list@lists.alioth.debian.org \
/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