Playing with fibonacci sequences I ran up against the following:

  10 ts '(,[:+/_2&{.)^: (<:`(0 1x"_)) 111'
0.0011442 12416

  10 ts '(,+/@(_2&{.))^: (<:`(0 1x"_)) 111'
0.0011354 12416

  5 ts '(,[:+/_2{.])^: (<:`(0 1x"_)) 1111'
0.1276228 271232

  5 ts '(,+/@(_2&{.))^: (<:`(0 1x"_)) 1111'
0.0878322 271232

Does this example suggest it's worth it to reformulate a J-sentence with caps to one with at(op)'s if we are dealing with large(r) quantities?


=@@i

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to