
8 Jul
2007
8 Jul
'07
1:38 p.m.
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...)