Browse thread
[Caml-list] Object-oriented access bottleneck
-
Nuutti Kotivuori
- Nicolas Cannasse
- Jacques Garrigue
- Brian Hurt
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2003-12-07 (02:59) |
From: | Nicolas Cannasse <warplayer@f...> |
Subject: | Re: [Caml-list] Object-oriented access bottleneck |
[...] > So - I am asking if I'm correct in my deductions here, or if I missed > some important point. Or if there's an alternative way to circumvent > this restriction. > > To summarize - is there any way to have some function (or method or > whatever) that is able to access object member data, without the > overhead of a lazy binding function call? Preferably ofcourse such a > function should be eligible to be inlined. > > Thanks in advance, > -- Naked There is good way : don't use objects :-) For most of the cases, modules should be powerful enough and offer far better performances... and inlining. Even if you need some specialisation, you can always handle it using a closure. Nicolas Cannasse ------------------- 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