danmar/cppcheck — comment on commit b2f8161862287f1de900382f5bf9d42aa0734669
File:  line 0
By reif:

The old code checked the language once but your new code could end up checking the language millions of times needlessly. You pull ifs out of loops, not put them in when the value you are checking doesn't change.