Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Bigarray is a pig
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-07-23 (21:05)
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.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: