A worked example on performance tuning, using an invented "new order" message (such as may be sent to a trading exchange).
In the "Take 3" part, the itoa link is https://godbolt.org/g/GaVAyF and the full code is https://godbolt.org/g/Gfsr2m
The final version of the code I show at the end is here: https://godbolt.org/g/Ca47rA
Also see Carl Cook's videos (I think I erroneously call him "Carl Cox" ... sorry Carl, it was late...)
* https://www.youtube.com/watch?v=NH1Tta7purM
* https://www.youtube.com/watch?v=BxfT9fiUsZ4