trivial fast path for >depth1arr

This commit is contained in:
dzaima 2023-12-16 01:45:29 +02:00
parent 470e77b6b3
commit 17c575edba

View File

@ -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) {