MurrellGroup / MolecularEvolution.jl

A Julia framework for developing phylogenetic models
MIT License
11 stars 4 forks source link

make sibling_inds type stable #9

Closed bicycle1885 closed 2 years ago

bicycle1885 commented 2 years ago

This makes the sibling_inds function type-stable, which shaves a bit of memory allocation.

main

 Memory estimate: 985.77 KiB, allocs estimate: 19971.

PR

 Memory estimate: 970.17 KiB, allocs estimate: 18973.

Also, defining broadcastable of FelNode does not make much sense to me. So, I think we can safely remove the definition.