
18 May
2008
18 May
'08
11:52 a.m.
Hello Andrew, Sunday, May 18, 2008, 3:42:23 PM, you wrote:
How much do you want to bet that the C version just reads a chunk of data into RAM and then does a simple type-cast? (If I'm not very much mistaken, in C a type-cast is an O(0) operation.)
try unsafeCoerce# for that. or just use hGetArray to read directly into array of type you need -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com