Help / Release / J 5.04 / ": Improved

From J Wiki
Jump to navigation Jump to search


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



": Improved

initial writing: 2004-07-16
last updated: 2005-02-09


The monad ": is now faster and leaner on integer arguments. The following benchmarks illustrate the improvements.

ts=: 6!:2 , 7!:2@]   NB. time and space
ts '":x'
x     J 5.04   J 5.03   Ratio
1e6 ?@$ 1e9 0.61021   1.67779e7 3.54398   3.35551e7 5.81   2.00
1000 1000 ?@$ 1e9 1.09237   3.35592e7 3.78867   3.35592e7 3.47   1.00




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