[Haskell-cafe] Re[2]: [Haskell] installing streams library

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon May 22 01:37:04 EDT 2006


Hello Donald,

Monday, May 22, 2006, 4:19:59 AM, you wrote:

>> i foresee that Streams + Fast Packed Strings together will yield a
>> breakthrough in GHC I/O speed, and this can be implemented even
>> without waiting for GHC 6.6
>> 
>>    Before reading this I had thought it might be an XOR
>>    situation, but now it seems a happy coexistence may be
>>    possible. Are there any preliminary results on how these
>>    might work together, and the potential speedups?

> I imagine that Bulat could easily write some IO operations that
> construct ByteStrings as results. So that should be very possible.

yes, it is no problem. i tried this with other packed string
libraries, but at those attempts results was bad because of
inefficiency in my library organization. now i've changed these
internals according to one Simon's idea, and i think that ByteString
I/O will be done with the same speed as low-level character i/o, i.e.
about 100-200 mb/sec on modern cpus (faster than disk I/O by itself :) )


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list