Bulat Ziganshin wrote:
Hello Andrew,

Anyone have any comments on how ByteString is different from, say,
UArray Word8?

mainly, algorithms implemented. the only technical difference is that
UArray uses ByteArray# and ByteString uses PinnedByteArray#, which has
different behavior in GC

I just wish I could have all that ByteString goodness without being limited to only having Word8 to play with. :-(

(E.g., the inverse BWT makes use of positive integers that are likely to be way bigger than 255. But there isn't a fast packed Word16 or Word32 array I can use there...)

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to