molpopgen / fwdpp

fwdpp is a C++ template library for implementing efficient forward-time population genetic simulations
http://fwdpp.readthedocs.io
GNU General Public License v3.0
27 stars 11 forks source link

Constant time binomial and poisson generation #229

Closed molpopgen closed 4 years ago

molpopgen commented 4 years ago

With tree sequence recording + large genomic intervals, one starts to notice gsl_ran_poisson in the profiles. The genetic map classes should use constant time generators for these distributions.

Note: this will change results for the same seed. Need to decide if we simply update existing classes or add new ones. Either way, fwdpy11 is affected.

molpopgen commented 4 years ago

Some testing reveals that this won't help much in practice.