[commit: base] master: Performance improvement for division: got rid of an unnecessary branching in cases where the second argument is a constant and is not -1. (5dac514)
Ian Lynagh
igloo at earth.li
Sat Apr 30 18:47:25 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/5dac514410303675fe60985c502c2c2863da616c
>---------------------------------------------------------------
commit 5dac514410303675fe60985c502c2c2863da616c
Author: Denys Rtveliashvili <rtvd at mac.com>
Date: Thu Apr 28 08:45:10 2011 +0100
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 | 72 +++++++++++++++++++++++++++++-----------------------------
GHC/Real.lhs | 12 +++++-----
2 files changed, 42 insertions(+), 42 deletions(-)
Diff suppressed because of size. To see it, use:
git show 5dac514410303675fe60985c502c2c2863da616c
More information about the Cvs-libraries
mailing list