From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA23651; Tue, 11 Dec 2001 15:37:03 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA23709 for ; Tue, 11 Dec 2001 15:37:02 +0100 (MET) Received: from mwmx3.mweb.com (net-49-055.mweb.co.za [196.2.49.55]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id fBBEaw109590 for ; Tue, 11 Dec 2001 15:37:00 +0100 (MET) X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: [Caml-list] Pairs vs. Records Date: Tue, 11 Dec 2001 16:36:52 +0200 Message-ID: <412AC3D29865BA4FB75DBE3DBA869B9D098223@mwmx3.mweb.com> Thread-Topic: Pairs vs. Records Thread-Index: AcGCUbjXJ0j/qLn5Qtm64erncV1ZCQ== From: "Willem Duminy" To: "Caml-List (E-mail)" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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