08-17-2012, 09:00 PM
Testing on WAN confirmed that this optimization is pretty much useless. On normal ISP-housed servers (on a fast connection) the server didn't drop a single packet in over 10K packets sent. On an extreme server, based on a slow-upload home inet connection and accessed over internet from another location, the server dropped about 40 packets in a 10K, a mere 0.4 %. On a bandwidth scale, this was about 1 KiB saved in about two minutes. That's not worth doing, especially if we can expect the AI to change to a less random one.
I implemented the first stage of the packeting rewrite, now the packets parse themselves from a cByteBuffer object, rather than a raw string. Also, finally the UTF16 strings are being parsed completely correctly (I hope without dropping the high bytes.
I implemented the first stage of the packeting rewrite, now the packets parse themselves from a cByteBuffer object, rather than a raw string. Also, finally the UTF16 strings are being parsed completely correctly (I hope without dropping the high bytes.