From 9af77e63ee3d9d1c229fd8bad299b62d78121ce9 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sun, 18 Sep 2022 16:43:19 -0400 Subject: [PATCH] Split up partitioning loop in Group for rank 1 and rank>1 cases --- src/builtins/group.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/builtins/group.c b/src/builtins/group.c index aa84021c..097c5cdd 100644 --- a/src/builtins/group.c +++ b/src/builtins/group.c @@ -141,15 +141,19 @@ B group_c2(B t, B w, B x) { u8 xk = xl - 3; if (notB && !bits && sort) { void* xp = tyany_ptr(x); - u64 i=neg*width; for (usz j=0; j