Help / Release / J 4.06 / (f,) Improved

From J Wiki
Jump to navigation Jump to search


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



(f,) Improved

initial writing: 2000-12-01
last updated: 2000-12-01


For some time, the dyad hook ($,) has been supported by special code. Special code has now been implemented for the dyads {, {., }., e., . Time and space comparisons are as follows:

   b=: ?(6$10)$2
   c=: a.{~?(6$10)$#a.
   y=: ($c)$'y'
   a=: a.{~ ?13 17 19$#a.
   i=: _1e6+?13 17 19$2e6

   ts=: 6!:2 , 7!:2@]
   ts 'Expression'
Expression J 4.06   J 4.05   Time
Ratio
 
1 (e.,) b    0.000032    1024 0.008775 1049728 274
0 (e.,) b 0.000028    1024 0.008578 1049728 306
'x' (e.,) c 0.000023    1152 0.008736 1049856 380
'x' (e.,) y 0.007173    1152 0.018425 1049856 2.57
a (e.,) c 0.013079   43072 0.020343 1090624 1.56
i ({,) c 0.000437   43008 0.009308 1090560 21.3
2000 ({.,) c 0.000051    4160 0.008711 1051712 171
2000 (}.,) c     0.009629 1050752     0.016291 2098304     1.69




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