Help / Release / J 4.06 / # Improved
< Help
Jump to navigation
Jump to search
>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release
# Improved |
initial writing: 2000-11-29 |
The dyad # with a boolean left argument
has been speeded up. The comparisons below are the times
required to execute b#x for literal matrix x
with 1 million rows and c columns,
and b with different densities.
c | J 4.06 | J 4.05 |
b=: ?1e6$2
1 | 0.028246 | 0.039711 | 1.41 |
2 | 0.036108 | 0.044163 | 1.22 |
3 | 0.069606 | 0.095045 | 1.37 |
4 | 0.046878 | 0.056785 | 1.21 |
5 | 0.083506 | 0.107324 | 1.29 |
6 | 0.087789 | 0.111811 | 1.27 |
7 | 0.097706 | 0.120133 | 1.23 |
8 | 0.069833 | 0.080781 | 1.16 |
9 | 0.110802 | 0.133968 | 1.21 |
10 | 0.114620 | 0.135994 | 1.19 |
11 | 0.123712 | 0.145668 | 1.18 |
12 | 0.121712 | 0.142609 | 1.17 |
b=: 0=?1e6$2
1 | 0.021645 | 0.028885 | 1.33 |
2 | 0.025371 | 0.032284 | 1.27 |
3 | 0.038318 | 0.045074 | 1.18 |
4 | 0.027887 | 0.035532 | 1.27 |
5 | 0.041930 | 0.048997 | 1.17 |
6 | 0.042752 | 0.049673 | 1.16 |
7 | 0.044320 | 0.051431 | 1.16 |
8 | 0.033570 | 0.042677 | 1.27 |
9 | 0.046767 | 0.054215 | 1.16 |
10 | 0.047497 | 0.054366 | 1.14 |
11 | 0.049510 | 0.056428 | 1.14 |
12 | 0.047460 | 0.054567 | 1.15 |
b=: 0<?1e6$2
1 | 0.025570 | 0.034124 | 1.33 |
2 | 0.033994 | 0.039973 | 1.18 |
3 | 0.065795 | 0.118823 | 1.81 |
4 | 0.052791 | 0.057959 | 1.10 |
5 | 0.086507 | 0.137851 | 1.59 |
6 | 0.091624 | 0.145361 | 1.59 |
7 | 0.104358 | 0.153416 | 1.47 |
8 | 0.086539 | 0.097586 | 1.13 |
9 | 0.129691 | 0.175373 | 1.35 |
10 | 0.133920 | 0.177648 | 1.33 |
11 | 0.146987 | 0.191267 | 1.30 |
12 | 0.154453 | 0.191511 | 1.24 |