issues
search
Plutonomicon
/
plutarch-core
Plutarch 2.0
MIT License
19
stars
6
forks
source link
Optimisations to do
#14
Open
L-as
opened
2 years ago
L-as
commented
2 years ago
Case of known constructors
Let-bind if term is used more than once
Otherwise inline
η-reduction (for all types)
Merging matches on same thing (choose the top-most one)
User-defined rewrite rules (not through RULES pragma) (
hard
)
Common Expression Elimination (
not
subexpression elimination) / hoisting
Detect partial updating with pcon and pmatch/pcase