Exercise: Small-Range Integers II
Index
<<
>>
⍕int8
in v15.0 is faster by a factor of up to 10.
f←{(2⍲/' '=' ',t)/t←,(' ',⍕⍪¯128+⍳256)[⍵+128;]} x←¯100+?1e6⍴220 (⍕x) ≡ f x 1
Generalize this to
⍕x
where
x
are small-range integers.