CivPlatform / map-sync

Mod to sync map data with others instantly and privately, and update tiles for Leaflet/CivMap
GNU General Public License v3.0
28 stars 10 forks source link

Optimise CatchupChunk and related uses #77

Closed Protonull closed 1 year ago

Protonull commented 1 year ago

There's no need to have each chunk contain a copy of the world string when it can be stored once on the packet itself.

Also updated the CatchupRequestPacket so that there's no array expansion happening.

Huskydog9988 commented 1 year ago

Is this done? Presumably there needs to be client changes to handle the new packet format yes?

Protonull commented 1 year ago

Nothing has changed about the serialised-packet's structure