<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>The program seems to take around 6 seconds on my linux-box, while the c version goes for 0.06 sekcond.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;">That is really some regression bug :-)</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;">Anyone with a more recent version thatn 7.4.1?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0,
 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;">Felix</div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">Fra:</span></b> Johan Tibell &lt;johan.tibell@gmail.com&gt;<br> <b><span style="font-weight: bold;">Til:</span></b> Fixie Fixie &lt;fixie.fixie@rocketmail.com&gt; <br><b><span style="font-weight: bold;">Kopi:</span></b> Haskell cafe &lt;haskell-cafe@haskell.org&gt; <br> <b><span style="font-weight: bold;">Sendt:</span></b> Torsdag, 29. november 2012 21.50<br> <b><span style="font-weight: bold;">Emne:</span></b> Re: [Haskell-cafe] To my boss: The code is cool, but it is about 100 times slower than the old one...<br> </font> </div> <br>Ack, it seems like you're
 running into one of these bugs (all now<br>fixed, but I don't know in which GHC version):<br><br><a href="http://hackage.haskell.org/trac/ghc/search?q=doubleFromInteger" target="_blank">http://hackage.haskell.org/trac/ghc/search?q=doubleFromInteger</a><br><br><br> </div> </div>  </div></body></html>