Hi:
我想请教一下,在32的DSP芯片上,函数返回值使用Char,和int均可满足需要的情况下,使用哪个类型的数据作为返回值效率高?
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.
Hi:
我想请教一下,在32的DSP芯片上,函数返回值使用Char,和int均可满足需要的情况下,使用哪个类型的数据作为返回值效率高?
因为不清楚你的应用场景,建议采用两种形式都编出一个asm文件,比较一下即可。个人任务,大多数情况下int可能会更好一些