Repository navigation
Avoid redundant zeroing in native bounded range reads - #1046
Merged
Merged
Conversation
helly25
force-pushed
the
perf/uninitialized-read-buffers
branch
from
November 2, 2026 03:34
55e0a06 to
08d4a56
Compare
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.
Read bounded host ranges directly into string storage, publishing only bytes returned by successful reads. Paired 64 KiB comparison workloads improve about 4-7% on both macOS and Linux while preserving EOF, short reads and errors.
AG;DR
docs/performance-analysis.md/TODO.md; synchronized onto main after Record rejected field lookup allocation experiments #1045 merged. Render lexical filename fields from borrowed path slices #1044 and Record rejected field lookup allocation experiments #1045 are included.Evidence:
docs/benchmarks/host-range-overwrite-20261102.mdplus lossless archives retain all three phases: initial combined candidate, baseline/combined/range-only decomposition, and final range-only qualification on current parent 4e8d2bc (runtime includes merged main d546fcb).Validation:
off_t; retain the guard and explicitly exclude only that impossible host-file branch from coverage. This is a comment-only correction; measured runtime code is unchanged. Existing directory-read errors and exact offset-limit tests remain exercised. This change deliberately leaves cursor zeroing for the separately measured O07 ownership work.