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 TAA26971; Mon, 8 Dec 2003 19:48:21 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA06070 for ; Mon, 8 Dec 2003 19:48:18 +0100 (MET) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.14]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hB8ImH113548 for ; Mon, 8 Dec 2003 19:48:17 +0100 (MET) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp2.pp.htv.fi (Postfix) with ESMTP id 248C7296E5B; Mon, 8 Dec 2003 20:48:17 +0200 (EET) Received: from oro (aka.pp.htv.fi [213.243.183.115]) by posti.pp.htv.fi (8.11.1 (Revision 1.5+JAGae91741+JAGae92668) /8.11.1) with ESMTP id hB8ImGT27253; Mon, 8 Dec 2003 20:48:16 +0200 (EET) Received: from naked by oro with local (Exim 3.36 #1 (Debian)) id 1ATQQZ-00066l-00; Mon, 08 Dec 2003 20:48:15 +0200 To: Brian Hurt Cc: Abdulaziz Ghuloum , caml-list@inria.fr Subject: Re: [Caml-list] Object-oriented access bottleneck References: From: Nuutti Kotivuori Date: Mon, 08 Dec 2003 20:48:15 +0200 In-Reply-To: (Brian Hurt's message of "Mon, 8 Dec 2003 11:29:08 -0600 (CST)") Message-ID: <87he0bb0y8.fsf@naked.iki.fi> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 bottleneck:01 accessor:01 accessor:01 ocaml:01 ocaml:01 caml:01 wrote:03 variable:03 functions:05 functions:05 variables:06 variables:06 brian:06 iki:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Brian Hurt wrote: > The only place where you are likely to win on a regular basis is > accessor functions. IIRC, Ocaml allows you to have member variables > be public. If accessor functions are a problem, consider using > public variables. I do not believe OCaml allows for member variable access outside the class. -- Naked ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners