TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Factorio Developer Discusses Optimizations Used

50 点作者 justinnhli大约 2 年前

2 条评论

armchairhacker大约 2 年前
It’s really nice to see that the solutions they use are really simple.<p>It seems like no tricky optimizations or complex algorithms, they just tick everything active every frame. The key is that they don’t tick things they don’t have to, and don’t render off-screen sprites, so “ticking” an entity is updating a tiny datastructure and maybe a few other datastructures it points to.
评论 #35874127 未加载
bombcar大约 2 年前
Factorio is interesting because it is a deterministic simulation of all the entities (this is how multiplayer works; they&#x27;re all running the same simulation and only passing &quot;commands&quot;).<p>RAM speed is often the limiting &quot;factor&quot;(io) as to how fast the simulation can run or how large you can build.
评论 #35870902 未加载