aboutsummaryrefslogtreecommitdiff
path: root/hypsrc-test
diff options
context:
space:
mode:
authorDoug Wilson <dwilson@ricoh.co.nz>2017-05-28 05:54:53 +1200
committerAlex Biehl <alexbiehl@gmail.com>2017-05-27 19:54:53 +0200
commit506f614402192bd7b6a9a608e925a01b373b2bdc (patch)
treeed6f2df5eb20543be3a88f76ea8ec6ab4e448f87 /hypsrc-test
parentc836dd4cb47d457b066b51b61a08f583a8c4466e (diff)
Improve Syb code (#621)
Specialize.hs and Ast.hs are modified to have their Syb code not recurse into Name or Id in HsSyn types. Specialize.hs is refactored to have fewer calls to Syb functions. Syb.hs has some foldl calls replaced with foldl' calls. There is still a lot of performance on the floor of Ast.hs. The RenamedSource is traversed many times, and lookupBySpan is very inefficient. everywhereBut and lookupBySpan dominate the runtime whenever --hyperlinked-source is passed.
Diffstat (limited to 'hypsrc-test')
0 files changed, 0 insertions, 0 deletions