Skip to content

Use a source-generated thread-safe randomizer with fallback to .NET 6.0's Random.Shared#596

Closed
MarkCiliaVincenti wants to merge 1 commit into
ZiggyCreatures:mainfrom
MarkCiliaVincenti:ThreadSafeRandomizer
Closed

Use a source-generated thread-safe randomizer with fallback to .NET 6.0's Random.Shared#596
MarkCiliaVincenti wants to merge 1 commit into
ZiggyCreatures:mainfrom
MarkCiliaVincenti:ThreadSafeRandomizer

Conversation

@MarkCiliaVincenti

Copy link
Copy Markdown
Contributor

No description provided.

@jodydonetti

jodydonetti commented Feb 10, 2026

Copy link
Copy Markdown
Collaborator

Hi Mark, thanks for the PR.
Sorry but as mentioned in the past, I don't add an extra dependency (even a MS one) to FusionCache lightly, less so in the main FusionCache package, less so if the dependency is 3rd party and even less so for an alternative random number generator used in exactly 1 line of code (jittering logic).
It's a tad bit too much honestly 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants