trivial fast path for >depth1arr
This commit is contained in:
parent
470e77b6b3
commit
17c575edba
@ -443,6 +443,7 @@ bool isPureFn(B x) { // doesn't consume
|
|||||||
|
|
||||||
B bqn_merge(B x, u32 type) {
|
B bqn_merge(B x, u32 type) {
|
||||||
assert(isArr(x));
|
assert(isArr(x));
|
||||||
|
if (TI(x,arrD1)) return x;
|
||||||
usz xia = IA(x);
|
usz xia = IA(x);
|
||||||
ur xr = RNK(x);
|
ur xr = RNK(x);
|
||||||
if (xia==0) {
|
if (xia==0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user