Minor Performance Tweak

Comparisons reduced to half
Merge pull request #27 from techaddict/master

Minor Performance Tweak