Help / Release / J 5.01 / gerund/ Improved

From J Wiki
Jump to navigation Jump to search


>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release



gerund/ Improved

initial writing: 2001-10-17
last updated: 2001-10-17


The monad gerund/ has been made more efficient in time and space. For example:



   ts=: 6!:2 , 7!:2@]   NB. time and space
   ts '+`*/x' [ x=: 0.01 * _5e5 + ?n$1e6



    n J 5.01    J 4.06    Ratio
 20000     0.0336233 1600 0.124966  5448768 3.72  3405.48
 40000 0.0668641 1600 0.249210  10896448 3.73  6810.28
 60000 0.1002950 1600 0.384038  16344128 3.83  10215.08
 80000 0.1355810 1600 0.507456  21791808 3.74  13619.88
100000 0.1666370 1600 0.641582  27239488 3.85  17024.68
120000 0.2001200 1600 0.780771  32687168 3.90  20429.48




>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release