其他分享
首页 > 其他分享> > Principles about returning a large data chunk from a function

Principles about returning a large data chunk from a function

作者:互联网

When a large data chunk is to be generated by a function, it can be either acquired from the function’s return value or passed by reference or pointer as an in/out variable. According to my development experience, I have summarized the following principles for choosing the appropriate solution.

标签:function,allocation,about,returning,object,large,memory,data
来源: https://www.cnblogs.com/peabody/p/15350991.html