[Unity]Why il2cpp is slower than dll When using Array? 为什么...
最初,我以为il2cpp会比DLL更快,但结果恰恰相反。il2cpp花费了大约4000毫秒,而DLL只需约400毫秒。请问你能解释一下为什么会发生这种情况吗?另外,值得一提的是,当我使用本机CSharp进行相同的操作时,只需要40毫秒。 I have attached the corresponding code below for your reference. 以下是相关代码的附加内容,供你...