dengliming opened a new pull request, #7264: URL: https://github.com/apache/shenyu/pull/7264
## Summary - Select the best matching selector/rule in one pass without candidate lists, grouping maps, boxed specificity keys, or per-candidate Pair objects. - Preserve AND-condition specificity, ascending sort priority, stable tie ordering, and the distinct-match flag controlling cache eligibility. - Retain the single result Pair required by the existing matching interface. Fixes #6579 ## Validation - `./mvnw -pl shenyu-plugin/shenyu-plugin-base -am -Dtest=AbstractShenyuPluginTest,SinglePassMatchingTest -DfailIfNoTests=false test` - Checkstyle enabled. Deterministic generated cases compare both paths with the previous distinct/sort semantics across 100 candidate orderings, disabled candidates, duplicates, empty inputs, AND/OR matches, and ties. - No throughput claim or benchmark is made; this change removes the identified intermediate allocations. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
