1
0
cuberite-2a/tests
peterbell10 31a11a6df4
Optimise chunk set (#4260)
Closes #1244

Initially I was just going to add the cChunkData to cSetChunkData but profiling revealed 
that the copying wasn't even the biggest slowdown. Much more time was being spent in 
cChunk::CreateBlockEntities and cChunk::WakeUpSimulators than was in memcpy so I've made 
those significantly faster as well.

Optimisations performed:
 * cSetChunkData now stores blocks in a cChunkData object
 * cChunkData objects can now perform moves even if they are using different pools
 * cChunk::CreateBlockEntities now iterates in the correct order and only over present chunk sections
 * Similarly for cChunk::WakeUpSimulators
 * cSetChunkData::CalculateHeightMap now shortcuts to the highest present chunk section before checking blocks directly
2018-07-23 19:12:51 +01:00
..
BoundingBox Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
ByteBuffer Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
ChunkData Optimise chunk set (#4260) 2018-07-23 19:12:51 +01:00
CompositeChat Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
ConsoleColors Moved some files. 2013-12-21 12:59:41 +00:00
FastRandom Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
Generating Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
HTTP Fix cUrlClient leak (#4125) 2018-02-20 17:08:46 +00:00
LoadablePieces Gen: Moved tests to a separate folder, unified shared sources. 2017-05-04 09:49:30 +02:00
LuaThreadStress Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
Network Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
NoiseTest Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
OSSupport CMake: Fix test builds on MSVC (#4131) 2018-01-22 09:39:41 +00:00
SchematicFileSerializer Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
UUID Fix cUUID::Variant (#4213) 2018-04-08 00:20:53 +02:00
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00