Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize ZwinderStateManger.GetStateClosestToFrame
AllStates() sorted the returned states, but this order was not used anywhere else, so I've removed it. GetStateClosestToFrame is solvable in O(n), so sorting is not required there either. This is an O(n log(n)) -> O(n) improvement that is mostly relevant for the state history integrity checker
- Loading branch information