<div>Marshalling large amount of data from and to C</div>
<div> </div>
<div><a href="http://phyx.pastebin.com/WXGBr1bX">http://phyx.pastebin.com/WXGBr1bX</a> shows the code I use to do this (it&#39;s autogenerated, so just looking at 1 block should be enough)</div>
<div> </div>
<div>The tool is mine, so i can change the code it generates, but i would need to know how to do it better first.<br><br></div>
<div class="gmail_quote">On Tue, Jul 13, 2010 at 3:30 PM, Magnus Therning <span dir="ltr">&lt;<a href="mailto:magnus@therning.org">magnus@therning.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">On Tue, Jul 13, 2010 at 13:29, Phyx &lt;<a href="mailto:lonetiger@gmail.com">lonetiger@gmail.com</a>&gt; wrote:<br>&gt; Hello<br>&gt;<br>&gt; I&#39;m wondering if anyone ever benchmarked marshalling in Haskell/GHC. No<br>
&gt; matter how much I optimize my Haskell code my program still seems to run<br>&gt; slow, which leads me to beleive that Marshalling is painfully slow.<br>&gt;<br>&gt; Does anyone know a way I can test this and fix it?<br>
<br></div></div>What kind of marshalling are you referring to?<br><br>/M<br><font color="#888888"><br>--<br>Magnus Therning                        (OpenPGP: 0xAB4DFBA4)<br>magnus@therning.org          Jabber: magnus@therning.org<br>
<a href="http://therning.org/magnus" target="_blank">http://therning.org/magnus</a>         <a href="http://identi.ca/" target="_blank">identi.ca</a>|twitter: magthe<br></font></blockquote></div><br>