1: already produced Boolean.

  datatype 1: 0
boolean
      JVERSION
Engine: j806/j64/android
Beta: commercial/2017-08-24T10:38:29
Library: 8.06.05
J Android: 1.0.16/23
Platform: Android 64 (arm64-v8a)
Installer: unknown
InstallPath: /storage/emulated/0/Android/data/com.jsoftware.j.android/files
Contact: www.jsoftware.com

On Dec 2, 2017 11:23 AM, "Henry Rich" <[email protected]> wrote:

> I see what's happening.  1"_ produces a Boolean, while 1: produces an
> integer.  In this case the Boolean is better.  I'm not sure whether it
> always would be; what do you think?
>
> Henry Rich
>
> On 12/1/2017 9:12 AM, Raul Miller wrote:
>
>> Huh...
>>
>> I can reproduce that 10x speed difference:
>>
>>     timespacex 'c0 17'
>> 0.078233 2.01328e8
>>     timespacex 'c01 17'
>> 0.761976 1.61061e9
>>     c0
>> ,@((1 0 1 */ ])^:(]`(1"_)))
>>     c01
>> ,@((1 0 1 */ ])^:(]`1:))
>>
>> This seems bizarre.
>>
>> Thanks,
>>
>>
>
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
>
> ----------------------------------------------------------------------
> 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