From: Markus Mottl <markus@oefai.at>
To: "Brandon J. Van Every" <vanevery@indiegamedesign.com>
Cc: caml <caml-list@inria.fr>
Subject: Re: [Caml-list] Bigarray is a pig
Date: Sat, 24 Jul 2004 12:39:07 +0200 [thread overview]
Message-ID: <20040724103907.GA26157@fichte.ai.univie.ac.at> (raw)
In-Reply-To: <OOEALCJCKEBJBIJHCNJDMEJDHFAB.vanevery@indiegamedesign.com>
On Sat, 24 Jul 2004, Brandon J. Van Every wrote:
> You are saying that even though Bigarray declares its array element
> access functions as EXTERN, and implements them in C code, that ocamlopt
> ignores this and does something else? Using some completely different
> source code, perhaps? (And where is that code?)
If you take a close look at bigarray.mli, you'll see that the access
functions "get" and "set" are not normal external functions but start
with a "%". This means they are primitives that the compiler can handle
in a specific way. Look at the file asmcomp/cmmgen.ml to see the details.
Regards,
Markus
--
Markus Mottl http://www.oefai.at/~markus markus@oefai.at
-------------------
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-07-24 10:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-23 20:36 Brandon J. Van Every
2004-07-23 21:05 ` Brian Hurt
2004-07-24 9:49 ` Brandon J. Van Every
2004-07-23 21:05 ` Olivier Andrieu
2004-07-24 9:07 ` Brandon J. Van Every
2004-07-24 9:59 ` Marcin 'Qrczak' Kowalczyk
2004-07-25 9:09 ` David McClain
2004-07-24 10:39 ` Markus Mottl [this message]
2004-07-23 21:45 ` David McClain
2004-07-23 22:01 ` David McClain
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=20040724103907.GA26157@fichte.ai.univie.ac.at \
--to=markus@oefai.at \
--cc=caml-list@inria.fr \
--cc=vanevery@indiegamedesign.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