Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Fri, 29 Nov 2024 17:30:13 +0000



Post From: Open/Close for New Order Messages

[2015-09-12 00:28:23]
DTC Engineering - Posts: 320
If you want short messages though, you can use Binary Encoding with Variable Length Strings. That will give you the largest reduction in size.

For most of the messages there is not much to gain by changing some types from 32 bits to 8 or 16 bits and reordering them to minimize padding. The biggest reduction comes from shortening strings.

Have you calculated an example of how much a structure can be reduced by changing field ordering at reducing the enumeration size?
Date Time Of Last Edit: 2015-09-12 00:28:48