OCamlPro / flambda-task-force

13 stars 1 forks source link

Sharing partial applications #127

Closed lpw25 closed 8 years ago

lpw25 commented 8 years ago

I notice a lot of identical functions in the output of -dcmm which are the results of partially applying the same function. We should probably make some attempt to share these.

lpw25 commented 8 years ago

Actually looking again. It seems that my examples all come from the same partial application, with the definition of the partial application function having been copied each time the surrounding function was inlined or specialised.

mshinwell commented 8 years ago

Superceded by #128