3 ms·
Mutable arrays are not sufficient as they may still be moved to a different location at any time by the garbage collector. Guess the StorableArray is the one t
by the_why_of_y 12y ago
Mutable arrays are not sufficient as they may still be moved to a different location at any time by the garbage collector.
Guess the StorableArray is the one that should work here.
- tome 12y agoI don't know the specifics but there are some details here about how to allocate such pinned arrays: http://en.wikibooks.org/wiki/Haskell/Libraries/Arrays#Welcome_to_the_machine http://en.wikibooks.org/wiki/Haskell/Libraries/Arrays#Welcom...