Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: PathQuery depth #328

Merged
merged 6 commits into from
Aug 20, 2024
Merged

feat: PathQuery depth #328

merged 6 commits into from
Aug 20, 2024

Conversation

QuantumExplorer
Copy link
Member

Issue being fixed or feature implemented

PathQuery depth is a small feature that gives the max depth of the PathQuery. This can be used to estimate the complexity of the PathQuery

What was done?

The PathQuery depth taxes the max of default pathquery subbranches and conditional pathquery subbranches.

How Has This Been Tested?

Added a test to check if it worked.

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@QuantumExplorer QuantumExplorer changed the base branch from master to develop August 20, 2024 03:41
merk/src/proofs/query/mod.rs Outdated Show resolved Hide resolved
grovedb/src/query/mod.rs Outdated Show resolved Hide resolved
@QuantumExplorer QuantumExplorer merged commit 7c37bb7 into develop Aug 20, 2024
7 checks passed
@QuantumExplorer QuantumExplorer deleted the feat/pathqueryDepth branch August 20, 2024 09:24
@QuantumExplorer QuantumExplorer restored the feat/pathqueryDepth branch August 20, 2024 10:08
@QuantumExplorer QuantumExplorer deleted the feat/pathqueryDepth branch August 24, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants