patch applied (packages/integer-gmp): Tweak the small integer case
of gcdInteger for better optimisation
igloo at earth.li
Mon Jun 22 16:35:13 EDT 2009
Sat Jun 13 06:40:49 PDT 2009 Duncan Coutts <duncan at well-typed.com>
* Tweak the small integer case of gcdInteger for better optimisation
The gcdInt function in the base package now calls gcdInteger with
two small integers. With this weak, the optimiser generates a base
gcdInt that directly calls the gcdInt# primop from this package.
This means there should be no additional overhead compared to when
the base gcdInt called the gcdInt# primop directly.
M ./GHC/Integer.lhs -7 +11
View patch online:
More information about the Cvs-libraries