From 0c0d967dc3dfded801a72e032b4efce79073b698 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 28 Sep 2022 17:18:55 -0400 Subject: [PATCH] Adjust Table thresholds for fast constant Replicate --- src/builtins/md1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/md1.c b/src/builtins/md1.c index 01c7481d..be50fdc9 100644 --- a/src/builtins/md1.c +++ b/src/builtins/md1.c @@ -61,7 +61,7 @@ B tbl_c2(Md1D* d, B w, B x) { B f = d->f; BBB2B fc2 = c2fn(f); if (!EACH_FILLS && isFun(f) && isPervasiveDy(f) && TI(w,arrD1)) { - if (TI(x,arrD1) && xia<80 && wia>130) { + if (TI(x,arrD1) && wia>130 && xia<2560>>arrTypeBitsLog(TY(x))) { Arr* wd = arr_shVec(TI(w,slice)(incG(w), 0, wia)); r = fc2(f, slash_c2(f, m_i32(xia), taga(wd)), shape_c2(f, m_f64(ria), incG(x))); } else if (xia>7) {