Path compression for capacity pointer structure
| 520 | } |
| 521 | /// Path compression for capacity pointer structure |
| 522 | forceinline void |
| 523 | pathset_t(HallInfo hall[], int start, int end, int to) { |
| 524 | int k, l; |
| 525 | for (l=start; (k=l) != end; hall[k].t=to) { |
| 526 | l = hall[k].t; |
| 527 | } |
| 528 | } |
| 529 | /// Path compression for hall pointer structure |
| 530 | forceinline void |
| 531 | pathset_h(HallInfo hall[], int start, int end, int to) { |