Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OperationExisting solutionProposed solution
Query returning 0.01% of all nodes20 seconds< 1 second
Query returning all nodes45 minutes45 seconds

Of course, the performance gap widens as the database grows larger, owing to the different time complexity.

Background

The current implementation of Cps Path queries relies on regular expressions in the generated SQL queries.

...