From: John M. S. <sk...@oz...> - 2003-06-27 11:13:09
|
Nicolas Cannasse wrote: > Hi ! > > I've have modified the DynArray module so it does not need anymore a null > value. The only (small) tradeoff is that float dynarrays are boxed and that > we need to copy element-by-element from and to float arrays instead of using > Array primitives who must be faster. Thanks! I think this is a good start: it gets the interface right. It is probably worth showing the Ocaml team, and asking what they'd do to support unboxed arrays. Note that floats won't be the only unboxed arrays, there's a good chance the team is working to unbox all arrays of scalar types. -- John Max Skaller, mailto:sk...@oz... snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia. voice:61-2-9660-0850 |