GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [core] Reuse compiled violationSuppressXPath queries · Issue #7072 · pmd/pmd Closed Labels an:enhancementAn improvement on existing features / rulesfor:performanceThe goal of this change is to improve PMD's performance Milestone DescriptionIs your feature request related to a problem? Please describe.
Creating the query calls Describe the solution you'd like Cache the compiled query per rule and file, then reuse it for each node evaluation. The cache should stay lazy and must account for the rule properties and language-specific XPath handler, not just the XPath string. A test could process many violations from one rule and verify that the query is compiled once without changing the suppression results. Additional context I found this on This is a focused follow-up to the postponed suppression work discussed in #1676. It is also related to the broader Saxon initialization cost reported in #6155. Activity
MetadataMetadataAssigneesLabelsan:enhancementAn improvement on existing features / rulesfor:performanceThe goal of this change is to improve PMD's performance TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |