From 452a6c1b4929d77aef6a88da07e4e24dbb7ed5b3 Mon Sep 17 00:00:00 2001 From: conrad Date: Sat, 13 Jun 2026 00:29:21 +1000 Subject: [PATCH] use partially unrolled loops --- include/armadillo_bits/glue_max_meat.hpp | 38 ++++++++++++++++++++---- include/armadillo_bits/glue_min_meat.hpp | 38 ++++++++++++++++++++---- 2 files changed, 66 insertions(+), 10 deletions(-) diff --git a/include/armadillo_bits/glue_max_meat.hpp b/include/armadillo_bits/glue_max_meat.hpp index 15995a7f..93404704 100644 --- a/include/armadillo_bits/glue_max_meat.hpp +++ b/include/armadillo_bits/glue_max_meat.hpp @@ -75,13 +75,41 @@ glue_max::apply(Mat& out, const Proxy& PA, const Proxy& PB) const uword N = PA.get_n_elem(); - for(uword i=0; i& out, const Proxy& PA, const Proxy& PB) const uword N = PA.get_n_elem(); - for(uword i=0; i