True, except that if you did not have the inner >./ the "0 1 would not help.
Thanks, -- Raul On Sat, Jun 24, 2017 at 3:01 PM, 'Mike Day' via Programming <[email protected]> wrote: > Ah! I'd spotted the outer, left-most >. for <. , but had missed the inner, > rightmost... > > The speed-up and space-saving (cf my verb "a", say) appears to come from > using ranks > > "0 1 rather than the placement of the >./ fragments. > > My c verb remains slower (because it loops!?) but uses less space (because > it loops!?) > > Good stuff, > > Mike > > > > > On 24/06/2017 19:37, Raul Miller wrote: >> >> Oops, I used <./ instead of >./ when I typed that in. >> >> Should have been: >> >> C=: >./@(>:@i.@# >./@([ * <./\)"0 1 ]) >> >> I am not quite sure how I made that mistake - just sloppy, I guess. >> >> Thanks, >> > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
