Second review, and changes I have done locally:
* replaced auto with span when saving __static_exts to avoid
making copy of array
* in __contains_zero for array keeping static size is not important, so
just rating dynamically sized span.
I will post update patch on this thread soon.
diff --git a/l
On Sun, Aug 3, 2025 at 11:02 PM Luc Grosheintz
wrote:
> In mdspan related code involving static extents, often the IndexType is
> part of the template parameters, even though it's not needed.
>
> This commit extracts the parts of _ExtentsStorage not related to
> IndexType into a separate class _S
In mdspan related code involving static extents, often the IndexType is
part of the template parameters, even though it's not needed.
This commit extracts the parts of _ExtentsStorage not related to
IndexType into a separate class _StaticExtents.
It also prefers passing the array of static extent