Skip to content

Re-Use (and cache?) common XPaths #2350

Closed
@AshesITR

Description

@AshesITR

Inspired by a comment by @MichaelChirico which I can't find at the moment.

Some linters share common XPath logic. This is currently in no way cached, so all linters have to re-evaluate the common XPath logic.
It might be worth to

  1. Figure out which XPaths could be made common.
  2. Figure out a way to cache the result of applying the XPaths to expressions / files so they are only evaluated once.

Related to #963

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions