aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_ssa_funs.erl
AgeCommit message (Collapse)Author
2018-10-03Optimize named funs and fun-wrapped macrosJohn Högberg
If a fun is defined locally and only used for calls, it can be replaced with direct calls to the relevant function. This greatly speeds up "named functions" (which rely on make_fun to recreate themselves) and macros that wrap their body in a fun.