gstonge / fasttr

Python wrapper around c++ code to recover temporal information from grown trees
MIT License
6 stars 0 forks source link

Reduce map usage #1

Open gstonge opened 4 years ago

gstonge commented 4 years ago

Maps were used to allow any type of node labels. However, a lot of operations could be faster if vectors were used instead of maps.

This could be done by mapping node labels in the constructors to integers, and use integers in the backend.