Changes between Version 10 and Version 12 of Ticket #11284


Ignore:
Timestamp:
Dec 27, 2015 6:58:36 PM (4 years ago)
Author:
bgamari
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11284 – Description

    v10 v12  
    2424}}}
    2525
    26 `longestWord` here produces the simplified Core`,
     26`longestWord` here produces the simplified Core,
    2727
    2828{{{#!hs
     
    4343          a_a4jO = GHC.Prim.+# dt1_a4jQ dt2_a4jR } in
    4444        letrec {
    45           -- Why must you allocate? For the love of all that is good, why?
     45          -- For the love of all that is good, why must you allocate?
    4646          --
    47           -- This loop is just `T.length`, the first argument being the
    48           -- length accumulator and the second being an index into the
     47          -- This loop is essentially `T.length`, the first argument being
     48          -- the length accumulator and the second being an index into the
    4949          -- ByteArray#
    5050          $wloop_length_s4GI :: GHC.Prim.Int# -> GHC.Prim.Int# -> GHC.Prim.Int#
    5151          $wloop_length_s4GI =
    5252            \ (ww1_s4Gz :: GHC.Prim.Int#) (ww2_s4GD :: GHC.Prim.Int#) ->
    53               case GHC.Prim.tagToEnum# @ Bool (GHC.Prim.>=# ww2_s4GD a_a4jO) -- bounds check
     53              -- Have we reached the end of the Text?
     54              case GHC.Prim.tagToEnum# @ Bool (GHC.Prim.>=# ww2_s4GD a_a4jO)
    5455              of _ {
    5556                False -> {
    5657                  ...
    57                   -- in this body there are few cases analyses with
    58                   -- recursive calls of the form
     58                  -- in this body there are few cases analyses which
     59                  -- classify the code-points we encounter. The branches
     60                  -- are recursive calls of the form
    5961                  $wloop_length_s4GI (GHC.Prim.+# ww1_s4Gz 1) (GHC.Prim.+# ww2_s4GD 1)
    6062                  ...