Browse thread
[Caml-list] Bigarray is a pig
[
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: | Olivier Andrieu <andrieu@i...> |
| Subject: | Re: [Caml-list] Bigarray is a pig |
"Brandon J. Van Every" [Fri, 23 Jul 2004]: > I have been looking at the sources of the Bigarray implementation. > I am chagrined to discover that not only does Bigarray cost a > function call per array element access, No. Not always: when the type of the array is completely known to the compiler at the point the element is accessed, ocamlopt will access the element directly, without using the generic C function. -- Olivier ------------------- 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