Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPEED: Add support for per-chunk/per-future seeds #20

Open
HenrikBengtsson opened this issue Aug 7, 2018 · 0 comments
Open

SPEED: Add support for per-chunk/per-future seeds #20

HenrikBengtsson opened this issue Aug 7, 2018 · 0 comments

Comments

@HenrikBengtsson
Copy link
Owner

(from an old note of mine)

Add support for generating seeds per chunk (=future), i addition to per element as now. Although not invariant to the number of workers, and therefore not numerically reproducible if nbrOfWorkers() vary, this will still be statistically sound. The advantage is performance - the number of seeds that need to be pre-generated will be significantly lower when there's a large number of elements.

What should the API be, i.e. how to specify that we want it per chunk without introducing more arguments? Would future.seed = "per chunk" vs future.seed = "per element" (= TRUE as now). Then what about seed = <numeric> for specifying an initial seed (which now gives "per element" seeds)? Hmm...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant