Thank you, the patches looks good to me, so just waiting for approval. I have tested the patches locally, and now have my ready to merge branch that contains the series in following order: * [PATCH v2 0/8] libstdc++: Sequence of improvements to <mdspan>. (there are mine v3 patches) https://gcc.gnu.org/pipermail/libstdc++/2025-August/062847.html * [PATCH v1 0/2] Two cleanup patches for <mdspan>. (this patch) * [PATCH v3] libstdc++: Implement std::dims from <mdspan>. https://gcc.gnu.org/pipermail/libstdc++/2025-August/062847.html
On Mon, Aug 11, 2025 at 10:20 PM Luc Grosheintz <luc.groshei...@gmail.com> wrote: > This second iteration: > > - fixes the commit message of both patches, > - prefers if over multiplying with 1, > - use a span instead of a const array&, > - use constexpr for __sta_prod. > > Luc Grosheintz (2): > libstdc++: Reduce size static storage for __fwd_prod in mdspan. > libstdc++: Simplify precomputed partial products in <mdspan>. > > libstdc++-v3/include/std/mdspan | 46 +++++++++++++++++---------------- > 1 file changed, 24 insertions(+), 22 deletions(-) > > -- > 2.50.0 > >