You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is great, but it only detects RNG misuse at the end very end when the future has been resolved. If the RNG misuse takes place early on, it's a waste of compute resource.
Idea
Write a custom RNG that generates an instant error if the RNG is used, e.g.
Futures can set this internally when getOption("future.rng.onMisuse") is "error"`. The outcome is earlier stopping and therefore also less wasted compute resources.
Activity