Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] productivity improvement
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: William D. Neumann <wneumann@c...>
Subject: Re: [Caml-list] Re: Sieve of Eratosthenes Performance: various languages (Re: [Caml-list] productivity improvement)
Not that I need to add more noise to the channel, but just in case
someone cares, that time listed below is for the bytecode compiled
version.  Times for native compiled versions are as follows:

5000 primes:
0.050u 0.000s 0:00.07 71.4%     0+0k 0+6io 0pf+0w
10000 primes:
0.100u 0.030s 0:00.16 81.2%     0+0k 0+6io 0pf+0w
50000 primes:
0.710u 0.020s 0:01.26 57.9%     0+0k 0+0io 0pf+0w
500000 primes:
21.460u 0.330s 0:29.02 75.0%    0+0k 0+3io 0pf+0w

Now then...I suppose it's time to get back to work.

William D. Neumann

On Wed, 10 Jul 2002, William D. Neumann wrote:

> For what it's worth, here is my naive 10 minute solution that takes about
> 0.2 seconds to generate the first 5000 primes on my 500MHz G4 (and no
> fair laughing at my poor programming chops!):


---

"The magnum opus of rms and his Foundation is called 'GNU', a project to
completely rewrite the propritorially soiled Unix operating system. 
(Apparently, 'GNU' stands for "Gnu's Not Unix", and is proudly held to be
the world's first 'recursive acronym'. Which, of course, proves that rms
didn't get out enough in his youth.) 

	-- Nick Roberts



-------------------
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