Improve message validation and encoding performance
Brought to you by:
orenmnero
This patch improves message validation and encoding performance by redesigning FieldBase::calculate() method. It reduces excessive memory copying/allocation and uses FIX::integer_to_string() function to encode field tags.
Under MSVS2010 test scenario speedup reaches 12%-54%, averaging at ~24%.
New patch version:
1) simplified FIX::number_of_symbols_in() function;
2) Unit-tests for FIX::number_of_symbols_in() function.