Performance: replace iterator++ with ++iterator