Help / Release / J 6.02 / <. and >. Improved
< Help
Jump to navigation
Jump to search
>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release
<. and >. Improved |
initial writing: 2007-02-12 |
The monads <. and >. on floating point arguments in the range of integers have been made leaner (and slightly faster). The following benchmarks demonstrate the improvements:
y=: 10000 * _0.5 + 1e6 ?@$ 0 ts=: 6!:2 , 7!:2@] NB. time and space ts 'Expression'
Expression | J 6.02 | J 6.01 | Ratio | |||||||||
<.y | 0.1242109 | 4.19488e6 | 0.1355304 | 1.25835e7 | 1.09 | 3.00 | ||||||
>.y | 0.1245489 | 4.19488e6 | 0.1361800 | 1.25835e7 | 1.09 | 3.00 |