Implement efficient single-pass subgame root finder to replace the legacy IsSubgameRoot
#2421
python.yml
on: pull_request
Matrix: linux
Matrix: macos-14
Matrix: macos-15
Matrix: windows