From: effbiae@ivorykite.com
To: "John Prevost" <j.prevost@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] c is 4 times faster than ocaml?
Date: Wed, 4 Aug 2004 15:24:28 +1000 (EST) [thread overview]
Message-ID: <36292.60.246.254.84.1091597068.squirrel@www.ivorykite.com> (raw)
In-Reply-To: <d849ad2a040803215967acd9ed@mail.gmail.com>
oooh - a gmail account :)
> this artificial (and incredibly hard to read) benchmark program
was the C hard to read or the O'Caml? Any style tips for my caml?
> First, even with -unsafe, bounds checking is performed on BigArray
> types.
if i write a c extension that mmaps and msyncs then will the vector
element assignment become a call rather than a movb (or movl)? that is,
is Bigarray a 'special' c extension that ocaml knows how to optimize and
access just like C or is it a c extension that i can model my C extension
code on?
> If you were working on integers instead, I think it might be less
> painful. Especially if you could use int32s held in registers
> to index into things.
can i specify that an int32 is held in a register or does the compiler do
this?
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2004-08-04 5:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 2:39 effbiae
2004-08-04 4:59 ` John Prevost
2004-08-04 5:05 ` John Prevost
2004-08-04 5:24 ` effbiae [this message]
2004-08-04 7:28 ` John Prevost
2004-08-04 8:18 ` [Caml-list] " Jack Andrews
2004-08-04 10:06 ` Mikhail Fedotov
2004-08-04 10:25 ` [Caml-list] " Jack Andrews
2004-08-04 15:38 ` [Caml-list] custom mmap modeled on bigarray Jack Andrews
2004-08-10 5:06 ` Jack Andrews
2004-08-11 14:52 ` Eric Stokes
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=36292.60.246.254.84.1091597068.squirrel@www.ivorykite.com \
--to=effbiae@ivorykite.com \
--cc=caml-list@inria.fr \
--cc=j.prevost@gmail.com \
/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