Remarkably strings are 10-100 times slower
than integers, but report the same time for
almost all the tests.

--- Oleg Kobchenko <[EMAIL PROTECTED]> wrote:

> N=: 10
> +---------------------------------+-----------+------+
> |B +/ . (=/)~"1 A1                |0.000457134| 21248|
> |((B e. ~.) #^:_1 #/.~)@/:~"1 A1  |0.000204123| 13824|
> |B +/@:="0 1"1 A1                 |0.000585829| 12928|
> |B +/"2 . (=/)~ A1                |0.000392229|273088|
> |+/"2 A1 =/ B                     | 0.00041048|272448|
> |+/"2 B  (=/)~ A1                 |0.000374442|272576|
> |B +/"2 @ (=/)~ A1                |0.000372952|272704|
> |B #/[EMAIL PROTECTED](i. ~.)`([EMAIL PROTECTED] # 0:)}"1 A1|0.000213714| 
> 19840|
> +---------------------------------+-----------+------+

> +---------------------------------+----------+------+
> |B +/ . (=/)~"1 A1                | 0.0228696| 21248|
> |((B e. ~.) #^:_1 #/.~)@/:~"1 A1  |0.00201543| 14592|
> |B +/@:="0 1"1 A1                 |   0.02424| 13056|
> |B +/"2 . (=/)~ A1                | 0.0226484|273088|
> |+/"2 A1 =/ B                     | 0.0237572|272448|
> |+/"2 B  (=/)~ A1                 | 0.0226425|272576|
> |B +/"2 @ (=/)~ A1                | 0.0232448|272704|
> |B #/[EMAIL PROTECTED](i. ~.)`([EMAIL PROTECTED] # 0:)}"1 A1|0.00135036| 
> 19840|
> +---------------------------------+----------+------+


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to