Repository navigation
Conversation
fefb201 to
aa62381
Compare
570951e to
3772502
Compare
aa62381 to
c1c91ba
Compare
3772502 to
73a0415
Compare
c1c91ba to
0affd29
Compare
39828ed to
b6504ce
Compare
3367172 to
f783c34
Compare
b6504ce to
3c34e9e
Compare
f783c34 to
661d07c
Compare
3c34e9e to
85afb83
Compare
Merging this PR will improve performance by 58.26%4 warnings, 1 note
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
85afb83 to
c161e41
Compare
661d07c to
4c93a25
Compare
|
@claude review |
|
Claude finished @danking's task in 1m 25s —— View job Review: Stream PCO slices and compact PiecewiseSequence range takes
I found no correctness bugs. Descriptor overflow, out-of-bounds and declared-length checks all happen in 1. The new sliced
|
4c93a25 to
ce5758f
Compare
6994fd6 to
dbe67c6
Compare
ce5758f to
01c6155
Compare
dbe67c6 to
36bf9b0
Compare
250bc8b to
d4b2869
Compare
36bf9b0 to
2990c3d
Compare
d4b2869 to
73dbbe4
Compare
535fba6 to
8fa10a6
Compare
a28e261 to
8891163
Compare
8fa10a6 to
bc92e78
Compare
8891163 to
e348dea
Compare
bc92e78 to
0c98b6e
Compare
e348dea to
fbe9df9
Compare
28f935d to
5fc1f0c
Compare
4f9eed4 to
1ff6747
Compare
5fc1f0c to
15fdca1
Compare
1ff6747 to
7013dfc
Compare
15fdca1 to
64b3459
Compare
|
@claude review |
|
Claude finished @danking's task in 1m 42s —— View job Review: Stream PCO slices and compact PiecewiseSequence range takes
I found no correctness bugs for well-formed files. Things I checked that hold up:
The PR body now says plainly that multi-run selections keep every decoded page they touch, and the latest CodSpeed run shows no scan regressions. Points 1 and 2 of my previous review are resolved. 1.
|
64b3459 to
ff66413
Compare
7013dfc to
1c60c36
Compare
Signed-off-by: Daniel King <dan@spiraldb.com>
Signed-off-by: Daniel King <dan@spiraldb.com>
1c60c36 to
eea0ae2
Compare
ff66413 to
26de111
Compare
Use the logical-row prefix for compact PiecewiseSequence Take and sliced execution. A single contiguous request streams full selected pages directly into initialized output and reuses boundary-page scratch while preserving the sliced source validity. Compact ranges/repeats remain compact; multiple runs reuse touched decoded pages and can retain up to the full touched array.
Missing-prefix Take and sliced execution keep their existing implementations. No old-format fast path or unrelated Slice error fix is introduced. All public semantics originate in #10825; this PR only adds the indexed execution.
Fifth replacement for #10771, after #10828. All 63 PCO library tests and all-target/all-feature Clippy pass. Fresh current-head public file compatibility passed both directions against unchanged base33675. The final new-only matched resource run completed with all 26 oracles passing. Current GitHub CI and human review remain separate gates.
Existing CI and CodSpeed are reused; no new workflow. AI-assisted development with OpenAI Codex. Normal CI and the required human reviews remain necessary before merge; this PR remains draft.
Measured on an AMD EPYC 7B13 cloud VM: three OS-timer samples within one process per version, fixed workloads, resident buffers, no IO measurement. These are point estimates, not ABBA or confidence intervals; whole-process CPU/RSS includes fixtures and oracles. Final-stack comparisons do not isolate individual commits.
Explicit final-stack tradeoffs: nullable repeated Take rose from 52.43 to 67.71 ms (+29.1%, +15.28 ms); metadata-open/drop batches rose +33.2% dense/+31.6% nullable. These adverse results are retained for maintainer judgment, not hidden or auto-tuned away. No overall weighted speedup is claimed.
Final-stack near-full Slice was 1.26×/2.01× faster dense/nullable; compact four-range Take was 0.02674/0.03143 ms versus 42.85/68.20 ms original baseline. These gains avoid decode work, not measured disk reads.
CI correction: the existing compact stock-ticker expected size was updated 55,344→55,396 (+52 bytes with optional metadata), preserving its semantic roundtrip and default cases. The indexed-slice brace received pinned formatting. Fresh standard CI runs passed the source, platform, formatting and TSAN checks for these minimal corrections; no unrelated decoder fix is bundled.
Final CI audit: source/platform/formatting/TSAN checks have passed; remaining performance gates are CodSpeed and required human review. All PRs remain draft; no performance waiver or merge approval is claimed.