Browse thread
Memory allocation nano-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: | 2005-02-15 (14:16) |
From: | Frédéric_Gava <gava@u...> |
Subject: | Re: [Caml-list] Memory allocation nano-benchmark. |
Hi, stupid question, do you use the "-unsafe" option of ocamlopt. It is better for arrays... Regards, Frédéric Gava > The code using ordinary arrays runs in 2.8 seconds, > using bigarray 0.7 seconds. 4 x 0.7 = 2.8. > > bigarray is 4 times faster to write than three level > ordinary array.