[GHC] #3065: Reorder tests in quot to improve code

GHC ghc-devs at haskell.org
Wed Dec 3 21:08:54 UTC 2014


#3065: Reorder tests in quot to improve code
-------------------------------------+-------------------------------------
              Reporter:  simonpj     |            Owner:  ekmett
                  Type:  bug         |           Status:  closed
              Priority:  lowest      |        Milestone:  7.10.1
             Component:  Core        |          Version:  6.10.1
  Libraries                          |         Keywords:
            Resolution:  duplicate   |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Runtime     |  Related Tickets:
  performance bug                    |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * cc: core-libraries-committee@… (added)
 * status:  new => closed
 * resolution:   => duplicate


Comment:

 This is a duplicate of #5161, which was closed by these 2 commits:

 * 08db4daba1fdc14ae9647beec3f5162732a9cf4d
 {{{
 Author: Denys Rtveliashvili <>
 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.
 }}}

 * 32038d8ba4039e153f966cacd0470a07157029e5
 {{{
 Author: Ian Lynagh <>
 Date:   Sat Apr 30 15:52:57 2011 +0100

     Add a note about the definition of quot etc

     Based on Simon PJ's text in #5161.
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3065#comment:29>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list