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

Metapopulation performance #14

Closed molpopgen closed 9 years ago

molpopgen commented 9 years ago

In fwdpp <= 0.3.1, gametes in a metapopulation are stored as vector<list> gametes, which is something that the individual-based simulations inherited from the old gamete-baed code. However, over a lot of the relevant parameter space, it is more efficient to simply use list.

Thanks to @vancleve for pointing this out.

A fix is in the works that will not change the simulation output but will:

  1. break API compatibility with previous library versions
  2. break binary file format compatibility with previous library versions.
molpopgen commented 9 years ago

This issue should be fixed now, and the commits will appear in 0.3.2.

molpopgen commented 9 years ago

Close with 0.3.2 released.