Determine if an item should be sampled based on the sampling ratio.
This function is not used for any purpose requiring cryptographic security.
The sampling ratio.
True if the item should be sampled, false otherwise.
Determine if an item should be sampled based on the sampling ratio.
This function is not used for any purpose requiring cryptographic security.