Skip to content

Move Shared array out of vortex-array into vortex-layout - #10495

Merged
joseph-isaacs merged 1 commit into
developfrom
rk/split-array-02-shared
Oct 14, 2026
Merged

joseph-isaacs merged 1 commit into
developfrom
rk/split-array-02-shared

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

SharedArray is only used while reading layouts (the dict reader, the take operator and repartition) and by vortex-cuda, never by vortex-array itself, so it moves into vortex-layout as vortex_layout::arrays::shared. vortex-cuda reaches it through vortex::layout::arrays::shared.

@robert3005 robert3005 added the changelog/break A breaking API change label Oct 14, 2026
`SharedArray` is only used while reading layouts (the dict reader, the take
operator and repartition) and by vortex-cuda, never by vortex-array itself,
so it moves into vortex-layout as `vortex_layout::arrays::shared`. vortex-cuda
reaches it through `vortex::layout::arrays::shared`.

Inherent impls on `Array<Shared>` are not allowed outside vortex-array, so
the constructor moves from `SharedArray::new` to `Shared::new`.

Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ps4mp7KF5c4p66aoSoXx5j
@robert3005
robert3005 force-pushed the rk/split-array-02-shared branch from bde8af2 to ca30e13 Compare October 14, 2026 16:11
@codspeed

codspeed Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 4.44%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ 1 benchmark measured no execution time

Nothing ran under measurement, usually because the compiler removed the code under test. This result is not comparable, so it counts as unchanged.

Preventing compiler optimizations

⚠️ 14 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 5 improved benchmarks
❌ 5 regressed benchmarks
✅ 2209 untouched benchmarks
🗄️ 12 archived benchmarks run1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Simulation decode_primitives[i64, (1000, 32)] 25.1 µs 37.8 µs -33.72%
❌ WallTime threshold_neon[8] 2.9 µs 3.6 µs -19.38%
❌ WallTime filter_neon[64] 2.7 µs 3.3 µs -16.03%
❌ WallTime filter_neon[80] 2.9 µs 3.4 µs -12.81%
❌ WallTime threshold_avx2[8] 2 µs 2.2 µs -12.22%
⚡ Simulation sum_i64 225.2 µs 194.4 µs +15.82%
⚡ Simulation sum_v2_i64 224.9 µs 194.2 µs +15.77%
⚡ WallTime bitpack_blocked_compress_avx2 7.6 µs 6.7 µs +12.67%
⚡ WallTime filter_avx2[64] 2.3 µs 2.1 µs +10.97%
⚡ WallTime words_gather_dispatch_neon[65536] 2.3 µs 2 µs +10.34%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing rk/split-array-02-shared (ca30e13) with develop (c7ae383)

Open in CodSpeed

Footnotes

  1. 12 benchmarks were run, but are now archived. If they were deleted in another branch, consider rebasing to remove them from the report. Instead if they were added back, click here to restore them. ↩

@joseph-isaacs
joseph-isaacs merged commit 751e0af into develop Oct 14, 2026
93 checks passed
@joseph-isaacs
joseph-isaacs deleted the rk/split-array-02-shared branch October 14, 2026 16:23
joseph-isaacs pushed a commit that referenced this pull request Oct 14, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P1oQtzTgSzkvrGDKisoNko
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/break A breaking API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants