This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ZStack3.0中使用指针动态申请空间还是系统自动管理,哪种更好?

在ZStack编程过程中是使用zcl_mem_alloc和zcl_mem_free来动态管理需要的局部变量的mem,还是直接定义局部变量让系统来管理mem的方式,哪种方式会更好呢?