From 17c575edbad50c8e5018a3dbd6452fd04d79cf20 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sat, 16 Dec 2023 01:45:29 +0200 Subject: [PATCH] trivial fast path for >depth1arr --- src/core/stuff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/stuff.c b/src/core/stuff.c index 380ce6a0..75a355f2 100644 --- a/src/core/stuff.c +++ b/src/core/stuff.c @@ -443,6 +443,7 @@ bool isPureFn(B x) { // doesn't consume B bqn_merge(B x, u32 type) { assert(isArr(x)); + if (TI(x,arrD1)) return x; usz xia = IA(x); ur xr = RNK(x); if (xia==0) {