Browse thread
Execution time of class versus record
[
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: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] Execution time of class versus record |
On Sunday 24 June 2007 16:14:54 tmp123@menta.net wrote: > Hello, > > I've tried to implement two equivalent small programs, the one using > class, the other one using records. The resulting execution times says > that class are 7-8 times slower than record (compiled with ocamlopt in a > Intel machine). > > Please, knows someone what I'm doing wrong? You aren't doing anything wrong. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. The OCaml Journal http://www.ffconsultancy.com/products/ocaml_journal/?e