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

Reply via email to