We use the same trick as the Python implementation
- Group Reviewers
- rHGbed8d08cfcb2: rust-dirstatemap: remove additional lookup in dirstate.matches
IMO it should still be valid, it's harmless at best. I don't remember having strong performance numbers. Now that most of the status is done in Rust, it should matter less, even though it could still help shave off a few milliseconds.