[Haskell-cafe] Fun with ByteStrings [was: A very edgy language]

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Jul 8 14:44:37 EDT 2007


Hello Andrew,

Sunday, July 8, 2007, 10:41:53 PM, you wrote:

> OTOH, everybody uses ByteString rather than UArray Word8. (And, in fact,
> ByteString *exists* even though UArray Word8 was there first.) So one 
> presumes it's because ByteString has some kind of magic that makes it 
> faster than a UArray...

as i already said, it's due to algorithms implemented. when one need
UArray operations, it use it. when one need string operations, he use
ByteStrings. the rest is marketing hype ands i bet that UArray
advertising company was ~15 years ago :)


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



More information about the Haskell-Cafe mailing list