Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

Thank you,
Bug reports:  FAQ:
To unsubscribe, mail  Archives: