matherealize / simdata

An R package for simulating data
https://matherealize.github.io/simdata/
7 stars 1 forks source link

Prallelise Computations #15

Open AleKoure opened 4 months ago

AleKoure commented 4 months ago

Thank you for the great package!

Maybe the computations to generate sim data object can be parallelized (e.g. using {mirai}) Are there any plans for this?

matherealize commented 4 months ago

Thank you for your interest and your suggestion!

Yes, good point. I think for certain parts of the procedure, and for certain data generating mechanisms paralellisation would be feasible and easy to implement. In particular, I will add this to the list for #12 where parallelisation would be straightforward. For the drawing of samples from the mechanism itself - this should be feasible as well, but I will have to look into it in more detail. It may not be worth it, as it usually is not very time-consuming.

I keep this open for now and tag as enhancement while working out details.