Skip to content

1.35.2 - Optimize Hashing with ThreadLocal

Compare
Choose a tag to compare
@statsig-kong statsig-kong released this 10 Jan 21:02
· 2 commits to main since this release
85af20a

Improvements

  • The sha256ToLong method in the Hashing class has been optimized to use ThreadLocal for MessageDigest instances. This ensures thread safety and improves performance in multi-threaded environments.

Included In This Release

  • d4aa1cf Weihao Ding
    • fix: Optimize sha256ToLong with ThreadLocal (#419)

Full Changelog: 1.35.1...1.35.2