| 363 | */ |
| 364 | template <typename Key> |
| 365 | static unsigned index(Radix::Node<Key> *node, Key key) |
| 366 | { |
| 367 | size_t shift = BRANCH_BITS * node->shift; |
| 368 | Key BRANCH_MASK = BRANCH_MAX - 1; |
| 369 | return ((key & (BRANCH_MASK << shift)) >> shift).to_ullong(); |
| 370 | } |
| 371 | template <> |
| 372 | unsigned index<Key128>(Radix::Node<Key128> *node, Key128 key) |
| 373 | { |