[Haskell-cafe] 23% of calls to map fuse away

Joachim Breitner mail at joachim-breitner.de
Thu May 21 14:56:50 UTC 2015


I just compiled all¹ of Stackage LTS 2.9 with GHC 7.8.4 with
-ddump-rule-firings, and counted the occurrences of the rules.

Here is  a fun fact: 23% of all (static) occurrences of "map" fuse

And 50387 lists are fused away in total³

Full data at https://gist.github.com/nomeata/071c1f87450cf668bbeb


¹ but the SDL2 bindings
² 16925 × rule map
  12904 × rule mapList, which fires if no fusion happened.
³ 27846 × rule fold/build
  11293 × rule foldr/single
  11248 × rule augment/build
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150521/c4e9a37c/attachment.sig>

More information about the Haskell-Cafe mailing list