Quantcast
Channel: GHC: Ticket #4962: Dead code fed to CorePrep because RULEs keep it alive spuriously
Viewing all articles
Browse latest Browse all 26

comment added

$
0
0

I've implemented and validated a patch that does this (attached). Pretty straightforward, and it seems to work.

Nofib results are:

            Min          +0.0%     -4.1%     +0.0%     +0.5%     +0.0%
            Max          +0.1%     +0.0%     +2.3%   +274.5%     +0.0%
 Geometric Mean          +0.0%     -0.1%     +0.4%    +14.3%     -0.0%

So a small but solid reduction in allocations (ignore the runtime results, I was doing something else with the machine at the time so they can't be trusted).


Viewing all articles
Browse latest Browse all 26

Trending Articles