yomorun / hashids-java

Hashids algorithm v1.0.0 implementation in Java
http://hashids.org
MIT License
1.02k stars 156 forks source link

Using StringBuilder for performance improvements (Reformat). #78

Open lukechen116 opened 10 months ago

lukechen116 commented 10 months ago

In loops and recursion, using StringBuilder instead of String to reduce the creation and destruction of String objects can improve performance. And I followed the source file format.