Repository navigation
docs(engram): describe WILLNEED cost per merged page run in prefetch - #679
Merged
juliankang4 merged 1 commit intoOct 22, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Verdict: CLEAN: The documentation now matches the implementation's one WILLNEED syscall per merged page run.
Checked
- Documentation: crates/engram/src/prefetch.rs:8 agrees with
TableBytes::page_runsandTableBytes::advise. Repeated, adjacent, disjoint and empty requests preserve that count; invalid IDs return an error before advice. - Duplicates: 0 new items checked; dryer reported 0 candidate pairs.
- Complexity: crapper flagged no functions; no executable code changed.
- Silent failure: 0 added or changed sites.
- Tests: no tests changed, so mutation checks are not applicable. Existing syscall assertions cover merged runs, empty requests and invalid IDs. Tests were not rerun for this documentation change.
- Gates: no gates or pins moved.
- Escape catalog: no patterns matched.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
Collaborator
Author
|
The review is done and the contribution check passed, so I'm merging this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
engram prefetch 모듈 문서가 WILLNEED 호출 횟수를 실제 동작(합쳐진 page run마다 한 번)에 맞게 고칩니다.
What and why
Closes #675.
The module documentation in
crates/engram/src/prefetch.rssaid theWILLNEEDadvise costs one syscall per row.TableBytes::adviseissues one call for each distinct merged page run, so the text now says that. The crate overview was already corrected to the same wording in #674. The other "per row" costs in the crate are accurate (mincoreand the minor fault really are per row), so they stay.Release notes: internal, a documentation comment now matches what
TableBytes::advisedoes.Code shape
cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up.Duplication found or removed (
path:line): none.What I ran
cargo test -p bloomery-engram --lib: 22 passed, 0 failed.test-bloomery-tokenizer rc=0.Only a comment changed, so no GPU run was needed.
What I ran into
This does not block the PR. Nothing else in the crate needed a wording change.
AI help
AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.