本帖最后由 a20001017 于 2014-7-28 23:21 编辑

Dinnerbone: I had an idea of how to thread pathfinding earlier... and now I'm wondering how painful this is going to be. I think very. But worth it...
Dinnerbone: My theory is this: Reading the world is now safe to run concurrently, due to our BlockState changes. Pathfinding is a read-only operation.



Dinnerbone: 早些时候,我有关于把寻路机制编入单独线程的想法…现在我在想这会有多么蛋疼。嗯,肯定很蛋疼。但是应该值得…
Dinnerbone: 我的设计是这样的:由于新的方块状态的应用,现在可以安全地连续读取世界存档了。寻路逻辑是一个只读运算。



。。困难的翻译,意思就是说生物寻路会放入一个单独的线程处理,CYQ提供翻译帮助