OffchainLabs/arb-os

Add inlining controls

RGates94 opened this issue · 0 comments

In order for inlining to help performance, it needs to be applied only when it reduces gas cost. Factors like the number of locals in the inner and outer function, and number of references to each given local, impact the potential cost savings. Therefore we should add an attribute that indicates when to inline various functions in a robust way.