xflouris / libpll

Phylogenetic Likelihood Library
GNU Affero General Public License v3.0
27 stars 6 forks source link

Excessive allocation of memory space when compressing site patterns #143

Closed xflouris closed 7 years ago

xflouris commented 7 years ago

libpll allocates ~ 8x more space than necessary when compressing site patterns.

https://github.com/xflouris/libpll/blob/master/src/compress.c#L193

xflouris commented 7 years ago

fixed