Performance improvement for division: got rid of an unnecessary branching in cases...
authorDenys Rtveliashvili <rtvd@mac.com>
Thu, 28 Apr 2011 07:45:10 +0000 (08:45 +0100)
committerIan Lynagh <igloo@earth.li>
Sat, 30 Apr 2011 14:23:48 +0000 (15:23 +0100)
commit5dac514410303675fe60985c502c2c2863da616c
tree0ee645f06c3cd0854915316573accdc24c79158f
parent68871b8dc3e82472e98cecdbf8e629091c83549e
Performance improvement for division: got rid of an unnecessary branching in cases where the second argument is a constant and is not -1.
GHC/Int.hs
GHC/Real.lhs