Add gcd/Word RULE-based optimisation
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 22 Nov 2014 12:28:25 +0000 (13:28 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 22 Nov 2014 12:28:25 +0000 (13:28 +0100)
commit5ea3ee02c7e616235508f1829f8ccfd6047eaf98
treeee2e17ff99903d55442ea44ab522b0744bb0f6de
parent2b71b355fb1eb559243444f2dc4584e591fddee1
Add gcd/Word RULE-based optimisation

This makes use of the `gcdWord` primitive provided by
be7fb7e58c70cd9b0a933fb26cd5f2607d6dc4b2 which should make the
`Word`-variant of `gcd` as performant as the `Int`-variant.
libraries/base/GHC/Real.hs