Skip to content

Optimize array slice performance - #5509

Merged
jabraham17 merged 2 commits into
Bears-R-Us:mainfrom
jabraham17:improve-slice
Aug 3, 2026
Merged

jabraham17 merged 2 commits into
Bears-R-Us:mainfrom
jabraham17:improve-slice

Conversation

@jabraham17

Copy link
Copy Markdown
Contributor

Improves the performance of array slices, up to a 2x speedup on a micro benchmark using a COMM=none server on my mac
* by specializing for non-strided ranges and using whole-array operations, we take advantage of builtin chapel optimizations for slicing

@jabraham17
jabraham17 added this pull request to the merge queue Aug 3, 2026
Merged via the queue into Bears-R-Us:main with commit c779e17 Aug 3, 2026
21 checks passed
@jabraham17
jabraham17 deleted the improve-slice branch August 3, 2026 19:41
jabraham17 added a commit to jabraham17/arkouda that referenced this pull request Aug 5, 2026
Partially revert the optimization from
Bears-R-Us#5509 for negOne slices, since
its much slower than the original code

Signed-off-by: Jade Abraham <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants