Browse thread
[Caml-list] O'Caml vs C++: a little benchmark
[
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: | 2002-08-28 (14:34) |
From: | Alain Frisch <frisch@c...> |
Subject: | Re: [Caml-list] O'Caml vs C++: a little benchmark |
On Wed, 28 Aug 2002, John Max Skaller wrote: > [There's nothing to gain from > a simple inlining, unless the loop is only executed > once or twice - you'd only save a single function call] Why ? You can unroll the call to the function in its own body, up to a fixed depth n and divide the number of function calls by n (and allow subsequent optimizations, such as boxing/unboxing removal). -- Alain ------------------- 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