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

Refactor edge table indexing to use less memory. This #288

Closed molpopgen closed 4 years ago

molpopgen commented 4 years ago

The current scheme for indexing an edge table requires 2x the size of the edge table in memory. This requirement becomes ridiculous for large genomic regions. This PR removes ts::indexed_edge and replaces it with a simple index vector.