
13 Mar
2009
13 Mar
'09
1:08 p.m.
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