Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize phrase and password according to specification #12

Merged

Conversation

wigy-opensource-developer

I have not pulled in too many test cases, because if these all pass and a few that I missed would not, that would clearly be an issue with the unicode-normalization crate.

@wigy-opensource-developer
Copy link
Author

@maciejhirsz Do you have any feedback on this PR pro or contra?

@maciejhirsz
Copy link
Owner

Just looking at this, I think there is room to improve performance in few places, mostly you should be able to combine the phrase by joining char iterators without intermediate String allocations, but that's not critical. So overall LGTM.

@maciejhirsz maciejhirsz merged commit 3e90a3f into maciejhirsz:master Feb 26, 2020
@wigy-opensource-developer wigy-opensource-developer deleted the nfkd_normalization branch February 26, 2020 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants