manlio_perillo: > Bryan O'Sullivan ha scritto: >> [...] >> text is not mature, and is based on the same modern fusion framework as >> uvector and vector. It uses unpinned arrays, but provides functions for >> dealing with foreign code. > > What is the reason why you have decided to use unpinned arrays > (ByteArray#) instead of pinned arrays (Foreign.Ptr)?
They prevent heap fragmentation (and in general are faster). -- Don _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe