Nican
On ring buffer - in previous "slow" belts it was just an array due to at most 4 items per transport line. Updating 4 integers is faster or at least same-speed than doing all that ring-buffer logics for just 4 items. The new implementation has linear ring-buffer. As for turning that buffer to ...
Search found 2 matches
- Sat Feb 04, 2017 5:55 pm
- Forum: News
- Topic: Friday Facts #176 - Belts optimization for 0.15
- Replies: 101
- Views: 56157
- Sat Feb 04, 2017 9:48 am
- Forum: News
- Topic: Friday Facts #176 - Belts optimization for 0.15
- Replies: 101
- Views: 56157
Re: Friday Facts #176 - Belts optimization for 0.15
Interesting that you guys posted about the belts. I was thinking about how you guys implemented that yesterday. xD
I had modeled a way in my head such that belts had two parts:
1. A ring buffer. Each segment of a belt was a ring buffer, and during every tick, the game would change the head of the ...
I had modeled a way in my head such that belts had two parts:
1. A ring buffer. Each segment of a belt was a ring buffer, and during every tick, the game would change the head of the ...