Revert "Ensure that comparison time isn't affected by different string lengths"

This reverts commit 3b67e0c2c953727b203a9caafb227b62b4b4c39a.