vt-middleware / passay

Password policy enforcement for Java.
http://www.passay.org
Other
282 stars 64 forks source link

Ternary Tree optimizations and refactoring #86

Closed amichair closed 5 years ago

amichair commented 5 years ago

Here are some refactorings and little optimizations to make the ternary tree code more efficient, shorter, simpler and easier to read. Feel free to pick only the ones you like (some changes may be a matter of preference).

dfish3r commented 5 years ago

I think all these changes are an improvement in readability.