Help / Release / J 6.02 / 4$.y and 5$.y Improved

From J Wiki
Jump to navigation Jump to search


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



4$.y and 5$.y

Improved

initial writing: 2007-01-29
last updated: 2007-02-01


4$.5 and 5$.y have been made more efficient in time and space. The following benchmarks demonstrate the improvements:

sx=: $. (1e5 10 ?@$ 2) * (1e5 10 ?@$ 0)

ts=: 6!:2 , 7!:2@]  NB. time and space
ts 'Expression'
Expression      J 6.02    J 6.01    Ratio
4$.sx  0.0000021 7.04000e2 0.0068610 4.19501e6 3214.96 5958.82
5$.sx  0.0000019 7.04000e2 0.0068179 4.19501e6 3509.02 5958.82




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