I have a 10GB Data.Vector.Unboxed vector that I want to efficiently save to disk. What's the best, most efficient way? I plan to read it from a memory-mapped file too.
I have seen this package this package but only works with Storable but I need to stay with unboxed.
I was thinking of converting to a list but I am assuming this is not very ideal.
Storable
instances for new datas, you also needUnbox
instances to use them withUnbox
vectors. They're quite similar. If you're looking for aStorable
tuple instance specifically, there's a package here.