sqids-dotnet
sqids-dotnet copied to clipboard
Hoist property and use stack based buffer instead of StringBuilder
Pr. your request in https://github.com/sqids/sqids-dotnet/pull/29
- Moved call to length (and creation of generic math variable) out of loop.
- Added a stack-based buffer of 64 chars
You might want to fiddle and see if the size of the stack buffer is enough in all cases.