[commit: ghc] wip/faster-stats: Speed up core size and core stats (5cdeddd)
git at git.haskell.org
git at git.haskell.org
Fri Apr 21 21:03:15 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/faster-stats
Link : http://ghc.haskell.org/trac/ghc/changeset/5cdeddd006a7aa569b937373dd622bc515dd0de3/ghc
>---------------------------------------------------------------
commit 5cdeddd006a7aa569b937373dd622bc515dd0de3
Author: David Feuer <David.Feuer at gmail.com>
Date: Fri Apr 21 16:59:55 2017 -0400
Speed up core size and core stats
Summary:
When calculating core size and core stats, we previously
calculated sizes/stats for sub-parts and then added them.
It should be faster to thread an accumulator through.
Reviewers: austin, bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3483
>---------------------------------------------------------------
5cdeddd006a7aa569b937373dd622bc515dd0de3
compiler/coreSyn/CoreStats.hs | 77 ++++++++++++++++++++++++------------------
compiler/types/TyCoRep.hs | 78 ++++++++++++++++++++++++++-----------------
2 files changed, 91 insertions(+), 64 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 5cdeddd006a7aa569b937373dd622bc515dd0de3
More information about the ghc-commits
mailing list