Skip to content

Use PiecewiseSequence for List take elements#8833

Open
danking wants to merge 6 commits into
developfrom
codex/list-take-piecewise-elements
Open

Use PiecewiseSequence for List take elements#8833
danking wants to merge 6 commits into
developfrom
codex/list-take-piecewise-elements

Use valid null List ranges in take test

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

Performance Gate Passed

⚡ 13 improved benchmarks
✅ 1785 untouched benchmarks
⏩ 44 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation copy_nullable[65536] 1.4 ms 1 ms +32.05%
Simulation take_filter_list_nullable_random_mask_random_indices[256, 50] 129.3 µs 99.4 µs +30.05%
Simulation take_filter_list_slice_mask_random_indices[768, 50] 119.7 µs 92.4 µs +29.6%
Simulation take_filter_list_nullable_random_mask_random_indices[768, 50] 133.9 µs 103.5 µs +29.39%
Simulation take_filter_list_slice_mask_random_indices[256, 50] 118.8 µs 92 µs +29.03%
Simulation take_filter_list_small_random_mask_random_indices[256, 10] 116.9 µs 90.9 µs +28.51%
Simulation take_filter_list_small_uncached_random_mask_random_indices[256, 10] 117.2 µs 91.6 µs +28.03%
Simulation take_filter_list_small_uncached_random_mask_random_indices[768, 10] 121 µs 94.9 µs +27.58%
Simulation take_filter_list_small_random_mask_random_indices[768, 10] 120.9 µs 94.9 µs +27.41%
Simulation take_filter_list_random_mask_random_indices[256, 50] 121.9 µs 96.1 µs +26.86%
Simulation take_filter_list_random_mask_random_indices[768, 50] 127.2 µs 100.5 µs +26.55%
Simulation copy_non_nullable[65536] 1,089.2 µs 908.6 µs +19.88%
Simulation take_fsl_f16_force_manual_range_copy[1, 10] 14.3 µs 12.9 µs +10.52%

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/list-take-piecewise-elements (e0096ca) with develop (add6944)

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.