Fixed useless allocation made by String::Reversed Former-commit-id: c41c1d5fea3ebb55978fd63284d25c2ad3971ac1