Skip to content

feat: exploit PiecewiseSequence for faster take#8802

Merged
danking merged 18 commits into
developfrom
codex/piecewise-sequential-run-take-consumers
Jul 20, 2026
Merged

feat: exploit PiecewiseSequence for faster take#8802
danking merged 18 commits into
developfrom
codex/piecewise-sequential-run-take-consumers

Fix list PiecewiseSequence clippy lint

c8c6f81
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jul 20, 2026 in 0s

Performance Gate Passed

⚡ 5 improved benchmarks
✅ 1793 untouched benchmarks
⏩ 44 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation struct_large 431.1 µs 39.2 µs ×11
Simulation fsl_large 615.6 µs 91.5 µs ×6.7
Simulation list_i32_large 172.7 µs 96.6 µs +78.86%
Simulation i32_large 277.8 µs 237.7 µs +16.87%
Simulation true_count_vortex_buffer[128] 580.6 ns 522.2 ns +11.17%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing codex/piecewise-sequential-run-take-consumers (c8c6f81) with develop (2ea51cb)

Open in CodSpeed

Footnotes

  1. 44 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.