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] O'Caml vs C++: a little benchmark
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-19 (14:38)
From: Oleg <oleg_inconnu@m...>
Subject: Re: [Caml-list] O'Caml vs C++: a little benchmark
On Monday 19 August 2002 09:02 am, Xavier Leroy wrote:
> * is a (rare) example of a
>   non-stupid inter-language performance comparison.

What?! The cluelessness of the "shootout" is beyond belief. Let me quote e.g. 

Please Note: this test is due for an overhaul. I would like to have 2 lists 
tests, one that tests single-linked list functions, and one that tests 
double-linked list (deque) functions. 

Are there people here who do not know that deque == double-ended queue <> 
"double-linked list" ?

If you were to look at the O'Caml and C++ programs for the "list" comparison 
in the shootout, you'd see that the C++ version uses bona fide doubly-linked 
lists (the ones that allow fast inserstion in the middle), while the O'Caml 
version uses pre-allocated Array.t in this "list" comparison.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: