Skip to content

fix dropping of last byte#140

Merged
itsibitzi merged 4 commits into
mainfrom
aneubeck/querygrams
Jul 21, 2026
Merged

fix dropping of last byte#140
itsibitzi merged 4 commits into
mainfrom
aneubeck/querygrams

Conversation

@aneubeck

Copy link
Copy Markdown
Collaborator

No description provided.

@aneubeck
aneubeck requested a review from a team as a code owner July 20, 2026 15:48
Copilot AI review requested due to automatic review settings July 20, 2026 15:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes QueryGrams::consume_first so repeated draining converges to the default state.

Changes:

  • Drops the final retained byte on a subsequent drain.
  • Adds regression coverage for convergence.
  • Corrects crate keyword/category metadata limits.
Show a summary per file
File Description
crates/sparse-ngrams/src/query.rs Fixes drain convergence and adds a regression test.
crates/sparse-ngrams/Cargo.toml Reduces publication metadata to valid entries.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Medium

@itsibitzi
itsibitzi merged commit 054a6c5 into main Jul 21, 2026
8 checks passed
@itsibitzi
itsibitzi deleted the aneubeck/querygrams branch July 21, 2026 09:55
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.

3 participants