Help / Release / J 6.01 / -.@-:"r Improved
< Help
Jump to navigation
Jump to search
>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release
-.@-:"r Improved |
initial writing: 2005-06-09 |
The dyads -.@-:"r and -.@:-:"r are now implemented
by special code and
is faster. The following benchmark demonstrates the improvement.
i=: 1e5 3 ?@$ 10 integer j=: 1e5 3 ?@$ 10 x=: 1e5 3 ?@$ 0 floating point y=: 1e5 3 ?@$ 0 b=: 1e5 3 ?@$ 2 boolean c=: 1e5 3 ?@$ 2 ts=: 6!:2 , 7!:2@] time and space ts 'Expression'
Expression | J 6.01 | J 5.04 | Ratio | |||||||||
i -.@-:"_1 j | 0.00119036 | 132288 | 0.06041349 | 132608 | 50.75 | 1.00 | ||||||
x -.@-:"_1 y | 0.00402586 | 132288 | 0.06087866 | 132608 | 15.12 | 1.00 | ||||||
b -.@-:"_1 c | 0.00165867 | 132288 | 0.06012318 | 132608 | 36.25 | 1.00 |