In this experiment the tacit expression runs faster in less space than
the explicit verb.

Question, Is  13 :
 1) an educational tool?
 2) lazy way to not bother choosing 3 :  or 4 :  ?
 3) or is there a performance benefit to tacit expression?


   ts=: 6!:2, 7!:2@]  NB. time space

   implicit=: 13 :'x +/ y * x + x * y - 3'
   explicit=: 4 :'x +/ y * x + x * y - 3'

   999 ts '34 explicit 8'
1.35355e_5 5632
   999 ts '34 implicit 8'
8.58358e_6 2176



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

Reply via email to