caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Pairs vs. Records
@ 2001-12-11 14:36 Willem Duminy
  2001-12-11 21:09 ` Xavier Leroy
  0 siblings, 1 reply; 4+ messages in thread
From: Willem Duminy @ 2001-12-11 14:36 UTC (permalink / raw)
  To: Caml-List (E-mail)

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-12-13 20:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-11 14:36 [Caml-list] Pairs vs. Records Willem Duminy
2001-12-11 21:09 ` Xavier Leroy
2001-12-11 21:48   ` Alain Frisch
2001-12-13 20:26     ` Xavier Leroy

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).