Commit 85af20a
authored
[release] 1.35.2 - Optimize Hashing with ThreadLocal (#420)
### 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)1 parent d4aa1cf commit 85af20a
File tree
2 files changed
+2
-2
lines changed- src/main/kotlin/com/statsig/sdk
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments