Revert "fixed CaseInsensitiveComparator performance issue"

This reverts commit e36a118e1619d75e0a6e1ae9e14a9086fbbe8414.
fixed CaseInsensitiveComparator performance issue