<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>comp.lang.haskell Google Group</title>
  <link>http://groups.google.bs/group/comp.lang.haskell</link>
  <description>Polymorphically-typed lazy purely-functional programming.</description>
  <language>en</language>
  <item>
  <title>Re: performance question</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/df12313389065ab4/d1931e008fd66ff1?show_docid=d1931e008fd66ff1</link>
  <description>
  thanks for the comments. just an update what i have tried and not &lt;br&gt; worked: &lt;br&gt; - put more `seq` wherever i can, &lt;br&gt; - create map for each file separately and merge them at the end. &lt;br&gt; but most surprisingly the small change, what made it: &lt;br&gt; - build the reverse graph (instead of which includes which, now i &lt;br&gt; collect which were included from where.)
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/df12313389065ab4/d1931e008fd66ff1?show_docid=d1931e008fd66ff1</guid>
  <author>
  rizso...@gmail.com
  (LAca)
  </author>
  <pubDate>Mon, 08 Mar 2010 09:30:33 UT
</pubDate>
  </item>
  <item>
  <title>Re: pimp my code</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/5c6b7271d4322170/40c20b5deecac9fc?show_docid=40c20b5deecac9fc</link>
  <description>
  You&#39;re welcome. Getting used to Haskell takes some time, and if you &lt;br&gt; need more details, feel free to ask. &lt;br&gt; - Dirk
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/5c6b7271d4322170/40c20b5deecac9fc?show_docid=40c20b5deecac9fc</guid>
  <author>
  dthierb...@usenet.arcornews.de
  (Dirk Thierbach)
  </author>
  <pubDate>Sat, 06 Mar 2010 05:46:36 UT
</pubDate>
  </item>
  <item>
  <title>Re: pimp my code</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/5c6b7271d4322170/1f07af515ec5b5c9?show_docid=1f07af515ec5b5c9</link>
  <description>
  On Mar 4, 5:27 am, Dirk Thierbach &amp;lt;dthierb...@usenet.arcornews.d e&amp;gt; &lt;br&gt; wrote: &lt;br&gt; thanks for the tips. &lt;br&gt; peace &lt;br&gt; stm
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/5c6b7271d4322170/1f07af515ec5b5c9?show_docid=1f07af515ec5b5c9</guid>
  <author>
  namenobodywa...@gmail.com
  (Sean McIlroy)
  </author>
  <pubDate>Fri, 05 Mar 2010 20:25:13 UT
</pubDate>
  </item>
  <item>
  <title>Re: ghc warning</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/0ea6dc5ff8ef40cc/3e9e4f9a395278f6?show_docid=3e9e4f9a395278f6</link>
  <description>
  Now that I see it, it looks obvious ;-) &lt;br&gt; Thanks, &lt;br&gt; Laurent
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/0ea6dc5ff8ef40cc/3e9e4f9a395278f6?show_docid=3e9e4f9a395278f6</guid>
  <author>
  laurent.den...@gmail.com
  (ld)
  </author>
  <pubDate>Thu, 04 Mar 2010 14:48:27 UT
</pubDate>
  </item>
  <item>
  <title>Re: ghc warning</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/0ea6dc5ff8ef40cc/37e8be7808be814c?show_docid=37e8be7808be814c</link>
  <description>
  It&#39;s wondering which integral type to use after rounding but before &lt;br&gt; converting back to Double. For instance, &lt;br&gt; rint :: Int -&amp;gt; Double -&amp;gt; Double &lt;br&gt; rint d x = fromIntegral (round (x * 10^d) :: Integer) / 10^d &lt;br&gt; Mark
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/0ea6dc5ff8ef40cc/37e8be7808be814c?show_docid=37e8be7808be814c</guid>
  <author>
  mark.carr...@aetion.com
  (Mark T. B. Carroll)
  </author>
  <pubDate>Thu, 04 Mar 2010 14:30:12 UT
</pubDate>
  </item>
  <item>
  <title>ghc warning</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/0ea6dc5ff8ef40cc/a9fd2d48131e5409?show_docid=a9fd2d48131e5409</link>
  <description>
  When I compile &lt;br&gt; rint :: Int -&amp;gt; Double -&amp;gt; Double &lt;br&gt; rint d x = fromIntegral (round (x * 10^d)) / 10^d &lt;br&gt; GHC reports &lt;br&gt; main.hs:442:25: &lt;br&gt; Warning: Defaulting the following constraint(s) to type `Integer&#39; &lt;br&gt; `Integral b&#39; arising from a use of `round&#39; at main.hs: &lt;br&gt; 442:25-40 &lt;br&gt; In the first argument of `fromIntegral&#39;, namely
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/0ea6dc5ff8ef40cc/a9fd2d48131e5409?show_docid=a9fd2d48131e5409</guid>
  <author>
  laurent.den...@gmail.com
  (ld)
  </author>
  <pubDate>Thu, 04 Mar 2010 14:11:38 UT
</pubDate>
  </item>
  <item>
  <title>Re: pimp my code</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/5c6b7271d4322170/7d0c371c9ccb1e63?show_docid=7d0c371c9ccb1e63</link>
  <description>
  There&#39;s a number of inefficiencies in your code. I could go through the &lt;br&gt; code in detail, but that would probably end with a complete rewrite :-), &lt;br&gt; so I&#39;ll just do a summary (unless you still get stuck): &lt;br&gt; * Haskell has to read a sequence of bytes, convert them into a list of &lt;br&gt; Char, then another time into a list of Int, and then you process them.
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/5c6b7271d4322170/7d0c371c9ccb1e63?show_docid=7d0c371c9ccb1e63</guid>
  <author>
  dthierb...@usenet.arcornews.de
  (Dirk Thierbach)
  </author>
  <pubDate>Thu, 04 Mar 2010 13:27:45 UT
</pubDate>
  </item>
  <item>
  <title>pimp my code</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/5c6b7271d4322170/5e1748d69b4b106c?show_docid=5e1748d69b4b106c</link>
  <description>
  hi all &lt;br&gt; here is a little module for parsing midi files. it seems to work, but &lt;br&gt; it&#39;s much slower than its python counterpart. maybe somebody could &lt;br&gt; look through it and see if i&#39;m making any obvious mistakes? &lt;br&gt; peace &lt;br&gt; stm &lt;br&gt; {----------------------------- ------------------------------ ------------------------------ ---
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/5c6b7271d4322170/5e1748d69b4b106c?show_docid=5e1748d69b4b106c</guid>
  <author>
  namenobodywa...@gmail.com
  (Sean McIlroy)
  </author>
  <pubDate>Thu, 04 Mar 2010 06:27:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: performance question</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/df12313389065ab4/dfc9a626800e1ed6?show_docid=dfc9a626800e1ed6</link>
  <description>
  LAca wrote: &lt;br&gt; If you do random access, using arrays might improve performance &lt;br&gt; dramatically. Singly linked lists are really slow. &lt;br&gt; Hans
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/df12313389065ab4/dfc9a626800e1ed6?show_docid=dfc9a626800e1ed6</guid>
  <author>
  haberg_20080...@math.su.se
  (Hans Aberg)
  </author>
  <pubDate>Wed, 17 Feb 2010 20:10:35 UT
</pubDate>
  </item>
  <item>
  <title>Re: performance question</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/df12313389065ab4/4afc43114dc6d5e6?show_docid=4afc43114dc6d5e6</link>
  <description>
  My first instinct would be to look hard at the map operations you have: &lt;br&gt; I&#39;ve had some laziness surprises from those in the past. I&#39;m guessing &lt;br&gt; that the Map.insertWith only deals with small values anyway? Are you &lt;br&gt; sure that the foldWithKey is as strict as you hope? If anyone else &lt;br&gt; suggests anything, they&#39;re probably more likely to be correct than I am,
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/df12313389065ab4/4afc43114dc6d5e6?show_docid=4afc43114dc6d5e6</guid>
  <author>
  mark.carr...@aetion.com
  (Mark T. B. Carroll)
  </author>
  <pubDate>Wed, 17 Feb 2010 17:58:24 UT
</pubDate>
  </item>
  <item>
  <title>performance question</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/df12313389065ab4/fa69f965f9324dca?show_docid=fa69f965f9324dca</link>
  <description>
  hi All, &lt;br&gt; I&#39;m trying to create a simple application, which parses CPP output &lt;br&gt; files and creates a graphviz dot file. You can find the source here: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://sites.google.com/site/rizsotto/daopp&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; I&#39;m using test files ~25GB as input, the allocation is ~1.5GB. I tried &lt;br&gt; to profile the application, but found not too much. The (:) allocates
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/df12313389065ab4/fa69f965f9324dca?show_docid=fa69f965f9324dca</guid>
  <author>
  rizso...@gmail.com
  (LAca)
  </author>
  <pubDate>Wed, 17 Feb 2010 17:34:51 UT
</pubDate>
  </item>
  <item>
  <title>Re: enumerations</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/3a668ee4ea646989/628ea79917135de0?show_docid=628ea79917135de0</link>
  <description>
  On Feb 11, 5:30 pm, Dirk Thierbach &amp;lt;dthierb...@usenet.arcornews.d e&amp;gt; &lt;br&gt; wrote: &lt;br&gt; Thanks Dirk, it has helped!
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/3a668ee4ea646989/628ea79917135de0?show_docid=628ea79917135de0</guid>
  <author>
  rizso...@gmail.com
  (LAca)
  </author>
  <pubDate>Fri, 12 Feb 2010 09:54:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: enumerations</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/3a668ee4ea646989/51e70e0d83e954c6?show_docid=51e70e0d83e954c6</link>
  <description>
  You have to add a pragma: &lt;br&gt; {-# LANGUAGE GeneralizedNewtypeDeriving #-} &lt;br&gt; &lt;p&gt; newtype Color = Color Int deriving (Eq,Ord,Enum) &lt;br&gt; &lt;p&gt; (red:blue:black:_) = [Color 1 ..] &lt;br&gt; *Main&amp;gt; :t red &lt;br&gt; red :: Color &lt;br&gt; But I doubt that this will increase the performance a lot. If you do &lt;br&gt; a bit of profiling, you&#39;ll probably find other places to optimize, with
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/3a668ee4ea646989/51e70e0d83e954c6?show_docid=51e70e0d83e954c6</guid>
  <author>
  dthierb...@usenet.arcornews.de
  (Dirk Thierbach)
  </author>
  <pubDate>Thu, 11 Feb 2010 16:30:55 UT
</pubDate>
  </item>
  <item>
  <title>Re: enumerations</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/3a668ee4ea646989/9ff1ce70171e1761?show_docid=9ff1ce70171e1761</link>
  <description>
  The examples there seem to work fine. But first you should consider &lt;br&gt; whether you need such a hacky optimization. Perhaps serialization is &lt;br&gt; what you need. &lt;br&gt; Greets &lt;br&gt; Ertugrul
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/3a668ee4ea646989/9ff1ce70171e1761?show_docid=9ff1ce70171e1761</guid>
  <author>
  e...@ertes.de
  (Ertugrul Söylemez)
  </author>
  <pubDate>Thu, 11 Feb 2010 16:15:20 UT
</pubDate>
  </item>
  <item>
  <title>enumerations</title>
  <link>http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/3a668ee4ea646989/22999dd29b30dfab?show_docid=22999dd29b30dfab</link>
  <description>
  hello All, &lt;br&gt; i tried to tune up my little application, and have found this page: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.haskell.org/haskellwiki/Performance/Data_types#Enumerations&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; but the example does not even compile for me. anyone could give me a &lt;br&gt; hint how to write enumeration shortly? &lt;br&gt; thanks, &lt;br&gt; Laszlo
  </description>
  <guid isPermaLink="true">http://groups.google.bs/group/comp.lang.haskell/browse_thread/thread/3a668ee4ea646989/22999dd29b30dfab?show_docid=22999dd29b30dfab</guid>
  <author>
  rizso...@gmail.com
  (LAca)
  </author>
  <pubDate>Thu, 11 Feb 2010 14:19:54 UT
</pubDate>
  </item>
  </channel>
</rss>
