archermarx / PartialFunctions.jl

A small package to simplify partial function application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance regression due to blocking out constant propagation

arikheinss opened this issue · comments

Hello once more,

I noticed another source of performance regression when using partial functions compared to native anonymous functions x -> ...., which is that partial functions may lock the compiler out of some of its optimization routines. I documented my findings in details in a topic on discourse here.

As mentioned in the topic, AFAIK there is no solution to this problem that could be employed for your package, but I thought as the maintainer maybe you would want to know about the issue.

That is all for now. Cheers, and merry christmas!