My EMC mod calls the game.forces.player.rechart() function. In 0.14.x, the function takes about 20 seconds to work, while in 0.15.x it takes 2 minutes 23seconds* to work on the same save(attached). have you devs un-optimized something or is it all the new map overlay stuff that was added that is slowing it down?
* 7 times slower!
[0.15.x] rechart slower than in 0.14.x
[0.15.x] rechart slower than in 0.14.x
- Attachments
-
- Marathon.zip
- rechart slower
- (28.28 MiB) Downloaded 59 times
Re: [0.15.x] rechart slower than in 0.14.x
In 0.14 it was bugged so that the number of players changed how fast it would re-chart. that was fixed and now it's a constant speed regardless of the player count.
Your map happens to have exactly 7 players In it so a 7x slowdown is exactly expected.
Your map happens to have exactly 7 players In it so a 7x slowdown is exactly expected.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.15.x] rechart slower than in 0.14.x
If the speed no longer varies based on the player count, why is a 7x slowdown expected?
Re: [0.15.x] rechart slower than in 0.14.x
Oh, you're saying that the game is supposed to rechart a fixed number of chunks per tick, but that in 0.14 it actually recharted a fixed number of chunks per tick per player? That would seem to fit your explanation.
Re: [0.15.x] rechart slower than in 0.14.x
Yes.db48x wrote:Oh, you're saying that the game is supposed to rechart a fixed number of chunks per tick, but that in 0.14 it actually recharted a fixed number of chunks per tick per player? That would seem to fit your explanation.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.15.x] rechart slower than in 0.14.x
Would you consider speeding rechart up then? not that my mod will call it very often. with my computer, 7x faster didn't slow the game ticks any (perhaps on less powerful machines it does effect the fps?). 2-3 times faster should be fine. do you have any other options? I could make my own rechart function and let it run as fast as I want...