What is inlining?

前端 未结 10 1538
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 06:45

I am referring to this discussion. I have never written any code in C or in C++ . I do not have any CS background. However I have been working as Java developer for 5 years

10条回答
  •  温柔的废话
    2020-12-01 06:52

    http://en.wikipedia.org/wiki/Inlining

    In computing, inline expansion, or inlining, is a compiler optimization that replaces a function call site with the body of the callee. This optimization may improve time and space usage at runtime, at the possible cost of increasing the size of the final program.

提交回复
热议问题