Help / Release / J 6.02 / i. Improved
< Help
Jump to navigation
Jump to search
>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release
i. Improved |
initial writing: 2007-06-19 |
The reflexive case of the dyad i. (i.~y and y i. y) on floating point arguments has been made faster. Likewise other verbs that depend on this case, such as ~.y and ~:y . The following benchmarks demonstrate the improvement.
y=: 0.07 * 1e6 ?.@$ 5e5 6!:2 'Expression'
Expression | J 6.02 | J 6.01 | Ratio | |||
i.~ y | 0.254155 | 0.393665 | 1.55 | |||
~. y | 0.261515 | 0.400915 | 1.53 | |||
~: y | 0.255329 | 0.395172 | 1.55 | |||
(</. i.@#) y | 0.502249 | 0.635284 | 1.26 |