spring: develop ef309908 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
jK | jK | develop | 2012-02-03 03:07:54 | develop 45a5f38b |
Changeset | get rid of evil virtual CReadMap::GetCornerHeightMapSynced() calls it ate 0000051:0000050% of the time in CReadMap::AddHeight, which itself eats 10-15% of total cpu time (in non-realistic self 1500 cafus test) (The solution is still not perfect. Best would be if CReadmap creates the std::vectors, but the problem is only SMF & SM3 loaders know the needed size for them such early in the creation stage, so map info reading & heightmap loading would need to get separated for this) |
|||
mod - rts/Map/ReadMap.cpp | [ Diff ] [ File ] | |||
mod - rts/Map/ReadMap.h | [ Diff ] [ File ] | |||
mod - rts/Map/SM3/SM3Map.cpp | [ Diff ] [ File ] | |||
mod - rts/Map/SM3/SM3Map.h | [ Diff ] [ File ] | |||
mod - rts/Map/SM3/terrain/Terrain.cpp | [ Diff ] [ File ] | |||
mod - rts/Map/SM3/terrain/Terrain.h | [ Diff ] [ File ] | |||
mod - rts/Map/SM3/terrain/TerrainNode.h | [ Diff ] [ File ] | |||
mod - rts/Map/SM3/terrain/TerrainUtil.cpp | [ Diff ] [ File ] | |||
mod - rts/Map/SMF/SMFReadMap.cpp | [ Diff ] [ File ] | |||
mod - rts/Map/SMF/SMFReadMap.h | [ Diff ] [ File ] |