Used 'if (normalData.empty ())' instead of 'if (normalData.size () == 0)', because checking for emptiness can be faster (2x).
Replaced post-increment with pre-increment operators, because those can be more efficient for non-primitive types.. Fixes: . Approved by Sam Spilsbury.