Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Pairs vs. Records
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Willem Duminy <WDuminy@m...>
Subject: [Caml-list] Pairs vs. Records
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