You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Make Data.Text.unpack and Data.Text.Lazy.unpack good producers in list
fusion. This allows them to fuse with good consumers of lists.
Rewrite-back rules are included since the function bodies are large
and we don't want to inline them if fusion doesn't occur.
* For Data.Text.Lazy, this change means that `unpack`, which uses
`unstreamList`, no longer fuses with `streamList` under Text's stream
fusion framework. This scenario seems very unlikely, since nothing
else must be done to the list in between the two functions. Even
`pack . unpack` does not satisfy this rule. So we are not losing
anything valuable here.
* Add benchmarks for unpack, fusion and no fusion.
0 commit comments