How the Cinder JIT's function inliner helps us optimize Instagram
engineering.fb.com
engineering.fb.com
now i'm sure this goes wrong for real code in a billion different ways, but is there something i'm not considering regarding the principle (i.e. something at the intersection of inlining and dependency analysis)?