Repository navigation
Move Shared array out of vortex-array into vortex-layout - #10495
Conversation
`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
bde8af2 to
ca30e13
Compare
Merging this PR will degrade performance by 4.44%
|
| 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)
Footnotes
-
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. ↩
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>
SharedArrayis 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 asvortex_layout::arrays::shared. vortex-cuda reaches it throughvortex::layout::arrays::shared.