-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Domain maps switch to range.strides (#22486)
This updates the modules to the switch in #22441 from `range.stridable` to `range.strides`. Most of the changes are renamings from `stridable` to `strides` and replacing `anyStridable()` with `chpl_strideUnion()`. However occasionally I did some code reorg and simplification, such as merging two branches of an `if stridable` conditional into code not guarded by a condition. Notably: * Added overloads of `domain.stride` and `domain.alignment` that return a `param` for 1-D rectangular and sparse domains. * Simplified `range.readThis()` and `range.init(..., fileReader, serializer)`; the latter now "throws", rightfully so. * Removed an overload of binarySearch() that could result in an "ambiguous call" error, defeating its purpose of giving a user-friendly error message. * Eliminated distracting differences in where-clauses of fileReader/fileWriter methods in IO.chpl To do post-merge: * enable the deprecation warnings that remain commented out since #22441 * create design issues related to uses of chpl_strideUnion et al., see review comments r: @benharsh
- Loading branch information
Showing
32 changed files
with
518 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.