chore[doc]: update doc

This commit is contained in:
godotg
2024-09-17 21:59:34 +08:00
parent da8e2f6b42
commit a3d6b717df
@@ -92,6 +92,11 @@ public final class TaskBus {
}
/**
* EN: Use uid, sid, or hashcode to bind tasks to the same thread to improve the cache hit ratio of the CPU
* CN: 通过uidsid,或者hashcode来把任务绑定到相同的线程中来提高cpu的缓存命中率
* <a href="https://zhuanlan.zhihu.com/p/439381000">系统性能调优之绑定cpu</a>
*/
private static int calTaskExecutorIndex(int taskExecutorHash) {
return taskExecutorHash & EXECUTOR_MASK;
}