datrs / flat-tree

Map a binary tree to a vector.
Apache License 2.0
53 stars 10 forks source link

count trailing ones #38

Closed yoshuawuyts closed 6 years ago

yoshuawuyts commented 6 years ago

Speeds up the .depth() method by counting the amount of trailing ones.