Browse thread
[Caml-list] implementing bit vectors in OCaml
-
nr@e...
- Ville-Pertti Keinonen
- Diego Olivier Fernandez Pons
- Hendrik Tews
- Claude Marche
-
Xavier Leroy
- Marcin 'Qrczak' Kowalczyk
- Fabrice Le Fessant
[
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: | Marcin 'Qrczak' Kowalczyk <qrczak@k...> |
| Subject: | Re: [Caml-list] implementing bit vectors in OCaml |
Dnia pon 2. czerwca 2003 11:26, Xavier Leroy napisa³:
> The special case for float arrays is already a bit of a hack and it
> isn't clear this was a really good idea -- although it sure helps with
> benchmarks :-)
I don't like it, perhaps because I don't use float arrays. It makes most of
the Array module useless as far as performance is concerned because they do
the array kind check in all inner loops.
float array should be a separate type. Unfortunately OCaml can't provide
uniform syntax for accessing elements in this case and it would require
separate functions like those in Array.
--
__("< Marcin Kowalczyk
\__/ qrczak@knm.org.pl
^^ http://qrnik.knm.org.pl/~qrczak/
-------------------
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