Skip to content

Conversation

@akern40
Copy link
Collaborator

@akern40 akern40 commented Jan 4, 2026

This is a follow-on to #1563; it probably should have been the same PR. In additon to reserving the name Layout, we'd also like to clean up the src/layout module so that we can pack it full of new features for #1506. So we collapse everything that's currently there into layout::bitset, and add a pub use declaration to re-export it.

As a side note, I'd eventually like layout to act as a template for how we handle modules: minimal module-level code and clear module-level documentation. I've made #1566 to track that library-wide.

This is a follow-on to rust-ndarray#1563; it probably should have been the same PR. In additon to reserving the name `Layout`, we'd also like to clean up the `src/layout` module so that we can pack it full of new features for rust-ndarray#1506. So we collapse everything that's currently there into `layout::bitset`, and add a `pub use` declaration to re-export it.

As a side note, I'd eventually like `layout` to act as a template for how we handle modules: minimal module-level code and clear module-level documentation. I've made rust-ndarray#1566 to track that library-wide.
@akern40 akern40 merged commit 953f2e9 into rust-ndarray:master Jan 4, 2026
15 checks passed
@akern40 akern40 deleted the move-layoutbitset branch January 4, 2026 17:04
akern40 added a commit to akern40/ndarray that referenced this pull request Jan 7, 2026
This reverts commit 953f2e9.
The commit will now live on the `refactor` branch until
more of the new layout code is ready
akern40 added a commit that referenced this pull request Jan 10, 2026
Both #1563 and #1567 were done in preparation for new code to address #1506. However, those PRs introduce deprecations, which will require a minor version bump to adhere to SemVer. Instead of having them on master, we have created the refactor branch where they will continue to live.
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.

1 participant