摘要:
在class中的结构体内存在堆上,因为class是引用类型。 函数中直接new出的单一结构体对象,内存在栈上。 new出的结构体数组,内存在栈上,因为数组是引用类型。 阅读全文
posted @ 2018-09-11 22:46
时空观察者9号
阅读(1019)
评论(0)
推荐(0)
摘要:
MemoryProfiler Unity 5.3a4 has a new very lowlevel memory profiler API. It can tell you which objects got blamed for how much C++ memory allocations. 阅读全文
posted @ 2018-09-11 19:01
时空观察者9号
阅读(168)
评论(0)
推荐(0)