Help / Release / J 4.05 / |. Improved
< Help
Jump to navigation
Jump to search
>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release
|. Improved |
last updated: 2000-06-30 |
The monad |. is now implemented by direct code,
replacing the previous use of { (indexing).
The result is improved efficiency in time and space,
especially for boolean and literal arguments.
Time and space comparisons are as follows.
The (time,space) numbers in the table were generated
by ts '|.x' for various x,
where ts=: 6!:2 , 7!:2@]
x | J 4.05 | J 4.04 |
?7e5$2 | 0.00932381 1.04934e6 | 0.0851563 9.43802e6 |
a.{~?7e5$#a. | 0.00939672 1.04934e6 | 0.085598 9.43802e6 |
?7e5$1e6 | 0.0249811 4.19507e6 | 0.0967405 1.25837e7 |
0.01*?7e5$1e6 | 0.0491568 8.38938e6 | 0.125808 1.6778e7 |
?1e5 7$2 | 0.0125798 1.04934e6 | 0.0221936 2.09798e6 |
a.{~?1e5 7$#a. | 0.0126661 1.04934e6 | 0.0262986 2.09798e6 |
?1e5 7$1e6 | 0.0329757 4.19507e6 | 0.0426951 5.24371e6 |
0.001*?1e5 7$1e6 | 0.0522762 8.38938e6 | 0.0654083 9.43802e6 |