> I cannot duplicate your experience.

>   A3=:?10000 3$100

That's the same here, it only occurs with larger arrays:

A =: ?2000000 3$100

6!:2 'echo $~.A'

864712 3

0.080995

6!:2 'echo $~.A,.1'

864712 4

67.7995


Fun fact: In J Playground,
https://jsoftware.github.io/j-playground/bin/html2/# in Firefox, everything
is fine:


  A =: ?2000000 3$100
   6!:2 'echo $~.A'
864572 3
0.192
   6!:2 'echo $~.A,.1'
864572 4
0.231


Ben



On Fri, 25 Nov 2022 at 00:51, Brian Schott <schott.br...@gmail.com> wrote:

> I cannot duplicate your experience.
>
>    A3=:?10000 3$100
>    A31=: A3,.1
>    A4=:?10000 4$100
>    6!:2'echo $~.A3'
> 9951 3
> 0.007586
>    6!:2'echo $~.A31'
> 9951 4
> 0.008745
>    6!:2'echo $~.A34'
> 2.8e_5
>    6!:2'echo $~.A4'
> 10000 4
> 0.009025
>    JVERSION
> Engine: j903/j64/iOS
> beta-k: GPL3/2021-10-15T01:07:05
> Platform: iOS/iPadOS
> Version: 901.1 49
> Installer: App Store
> Contact: www.jsoftware.com
>
> --
> (B=) <-----my sig
> Brian Schott
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to