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] implementing bit vectors in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-06-02 (10:11)
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

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