| 103 | |
| 104 | template<class T> |
| 105 | forceinline void |
| 106 | NodeAllocatorBase<T>::setBest(int i, int best) { |
| 107 | assert(i/NodeBlockSize < n); |
| 108 | assert(i/NodeBlockSize < cur_b || i%NodeBlockSize <= cur_t); |
| 109 | b[i/NodeBlockSize]->best[i%NodeBlockSize] = best; |
| 110 | } |
| 111 | |
| 112 | template<class T> |
| 113 | forceinline bool |