Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set HashTransliterator default replacement char only once
If a string is 1000 characters longs, the previous code would check 1000 times if the `replacement` argument was nil, then fallback to `DEFAULT_REPLACEMENT_CHAR` By setting in the method's argument definition the default value once, we skip this potentiel unnecessary check.
- Loading branch information