-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The fastrand Rng should be created manually to avoid TLS deallocation issues. The fastrand::alphanumeric function uses a TLS storage internally. With current Rust and fastrand implementation, this is no problem. Yet, we can speed up the process a bit by not accessing the storage for every single random char.
- Loading branch information
1 parent
8ee0018
commit 7ed0d45
Showing
1 changed file
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters