We never added a method in the C API to seek efficiently to the tree at the kth index. The implementation in the Python API is currently quite naive: https://github.com/tskit-dev/tskit/blob/ec992daab6ac880a3e6e2bb31e2dddfa463adbd5/python/tskit/trees.py#L811
We never added a method in the C API to seek efficiently to the tree at the kth index. The implementation in the Python API is currently quite naive:
tskit/python/tskit/trees.py
Line 811 in ec992da