我知道 Crash 開不起來的原因了...
SetMTMode(0) 做結尾的話 會導致錯誤...
這是MT本身的問題((茶
纯引~06_taro 写了:叫你们再用MT版avs= =
實際上 Server/Source 是比 Thread 還要快很多很多...inter-process communication is expansive, so SoraThread should has better performance then SoraSMServer/Source.
And then, SoraSMServer/Source didn't use a prefetch buffer. I thought script running with SoraSMServer/Source would be slower then running in single thread, single process but the test result is SoraSMServer/Source is slightly faster.
好奇怪,因为同进程内应该是基本没有通信开销,翡璃月 写了:關於 雷鳴大 在doom9說到的實際上 Server/Source 是比 Thread 還要快很多很多...inter-process communication is expansive, so SoraThread should has better performance then SoraSMServer/Source.
And then, SoraSMServer/Source didn't use a prefetch buffer. I thought script running with SoraSMServer/Source would be slower then running in single thread, single process but the test result is SoraSMServer/Source is slightly faster.
因為進程內的 buffer 屯積
不如分開進程 各自處理來的快
就使用經驗來說
我跑的腳本 如果不拆開來走Server/Source(之前是TCP)
只有0.5fps甚至不到
拆開來之後 提升到1.5fps左右