Implement cheapBuild
Changes PlannedPublic

Authored by dfeuer on Jan 30 2017, 8:41 PM.

Details

Summary

Ben Gamari's cheapBuild patch with some extras

Use cheapBuild for enumerating Chars

Use cheapBuild for enumerating Ints

Add cheapBuild rules for other consumers

GHC.List fuses a number of functions other than foldr with
build. Make those fuse with cheapBuild too.

dfeuer updated this revision to Diff 10823.Jan 30 2017, 8:41 PM
dfeuer retitled this revision from to Implement cheapBuild.
dfeuer updated this object.
dfeuer edited the test plan for this revision. (Show Details)
mpickering requested changes to this revision.Jan 31 2017, 2:35 AM
mpickering added a reviewer: mpickering.
mpickering added a subscriber: mpickering.

Do you add a test or some performance numbers to show what difference this change makes?

This revision now requires changes to proceed.Jan 31 2017, 2:35 AM

I'm sorry. I should've renamed the branch WIP. I only put it here for validation.

dfeuer updated this revision to Diff 11772.Mar 16 2017, 12:19 PM
dfeuer edited edge metadata.

Update

dfeuer planned changes to this revision.Mar 17 2017, 5:01 PM

This still hasn't achieved its optimization potential.

austin resigned from this revision.Nov 9 2017, 11:33 AM
mpickering resigned from this revision.Thu, Nov 8, 4:25 PM