Browse thread
[Caml-list] DFT in OCaml vs. C
[
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: | -- (:) |
| From: | Falk Hueffner <falk.hueffner@s...> |
| Subject: | Re: [Caml-list] DFT in OCaml vs. C |
Xavier Leroy <xavier.leroy@inria.fr> writes: > It can be done, but not on a Pentium 3. Here are my timings: > > Pentium 4 Pentium 4 SSE2 Alpha 21264 > (2 GHz) (2 GHz) (500 MHz) > > C 20 20 36 > OCaml (your code) 113 40 52 > OCaml (variant 1) 90 26 40 > OCaml (variant 2) 72 38 100 Hmm, on an Alpha with 800 MHz, I measured 25 seconds C versus 69 seconds Ocaml, i. e. a factor of 2.8 instead of 1.4... does your version contain optimizations for non-i386, too? I'm using 3.06. -- Falk ------------------- 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