#: i.@(*/) Improved

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Release

#: i.@(*/) Improved | last updated: 2000-06-23

The monad`#: i.@(*/)` computes the odometer function. The phrase is now "recognized" (implemented by special code), improving its performance in time and space on non-negative integer vector arguments. Time and space comparisons are as follows:

       ts=: 6!:2, 7!:2@]
       v=: 2 3 5 7 11 13

J 4.05 J 4.04

       10 ts '(#: i.@(*/)) v'              10 ts '(#: i.@(*/)) v'
    0.00452898 1.05056e6                0.0380097 1.1815e6

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Release