How to speed up the simulators?
#9
Well, the simulator isnĀ“t slow. But I think C++ could do much more speed. When you throw an 20 * 5 Sand plate in the ocean for example (With the old sand wakeup, where all blocks around are notified) it starts to lagg heavily. The Core goes to max and Ticks are taking more than a second. I think in this case the duplicate-check takes much time (Like mentioned somewhere else, it could happen that more than 3k Blocks are moved into the queue. And when adding a new block it iterates for each block through all tousend blocks and also adds a new one and then again and againConfused
I already switched to list because I think it should be faster then vector when adding many items to it.

Another problem I saw is that blocks which get destroyed under water sometimes never leave the simulation queue. (Only occured when the block is destroyed under flowing water, not falling or stationary)
This also causes some lagg because every tick their flow gets calculated again and again but nothing changesBig Grin
Reply
Thanks given by:


Messages In This Thread
How to speed up the simulators? - by Lapayo - 12-29-2011, 01:23 PM
RE: How to speed up the simulators? - by mtilden - 12-29-2011, 01:36 PM
RE: How to speed up the simulators? - by Lapayo - 12-29-2011, 01:39 PM
RE: How to speed up the simulators? - by rs2k - 12-29-2011, 02:51 PM
RE: How to speed up the simulators? - by mtilden - 12-29-2011, 03:49 PM
RE: How to speed up the simulators? - by rs2k - 12-29-2011, 11:31 PM
RE: How to speed up the simulators? - by Lapayo - 12-30-2011, 03:57 AM
RE: How to speed up the simulators? - by Lapayo - 12-30-2011, 09:32 AM
RE: How to speed up the simulators? - by cedeel - 12-30-2011, 09:33 AM
RE: How to speed up the simulators? - by Lapayo - 01-02-2012, 09:08 AM



Users browsing this thread: 1 Guest(s)