Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Not sure if this is what the OP is referring to, but escape analysis determines whether a variable can be on the stack of a single function, or if it must be the heap (because it "escapes" the function's lifetime).

So if you can inline more functions, then you can allocate more objects on the stack rather than the heap.



view as:

Legal | privacy