Default index-leaf lookahead on; simplify docs#44
Merged
Conversation
The scope fix (PR #43) made lookahead byte-identical to off for scans, point-by-rowid reads, and warm queries -- it only engages for indexed SEARCH into a table. With the harm gone and the wins measured (index-> table joins ~20-32% faster cold, fan-out reads up to ~46% lower p90 and ~19% fewer bytes, scans unchanged), flip the default to on. - config: lookahead defaults to true; doc comment updated. - README design note: shortened. - README tuning: replace the stale 'default-off, can hurt scans' guidance with an Index-leaf lookahead section -- on by default, only the fully-warm CPU-bound case is a reason to disable it. - CHANGELOG: Ranger entry. Full lib suite + config_set_per_handle green with default-on. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
The scope fix (#43) made lookahead byte-identical to off for scans, point-by-rowid reads, and warm queries — it only engages for indexed SEARCH into a table. With the harm gone and the wins measured, flip the default on.
config.rs:lookaheaddefaults to true.Full lib suite (587) + config_set_per_handle (6) green with default-on.
🤖 Generated with Claude Code