From: "Willem Duminy" <WDuminy@mweb.com>
To: "Caml-List (E-mail)" <caml-list@inria.fr>
Subject: [Caml-list] Pairs vs. Records
Date: Tue, 11 Dec 2001 16:36:52 +0200 [thread overview]
Message-ID: <412AC3D29865BA4FB75DBE3DBA869B9D098223@mwmx3.mweb.com> (raw)
Hi guys,
I had a progarm that used pairs int*int as the basis of the primary data
structure. After changing it to use records {row:int;col:int} the
program runs slower.
I am wondering whether this performance was lost because of changing
from pairs to records, or whether it some other reason.
So my question is simply: is there a difference in the performance of
pairs and records when I use ocamlopt to compile an ocaml program in
Linux.
Thank you,
Willem
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next reply other threads:[~2001-12-11 14:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-11 14:36 Willem Duminy [this message]
2001-12-11 21:09 ` Xavier Leroy
2001-12-11 21:48 ` Alain Frisch
2001-12-13 20:26 ` Xavier Leroy
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=412AC3D29865BA4FB75DBE3DBA869B9D098223@mwmx3.mweb.com \
--to=wduminy@mweb.com \
--cc=caml-list@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