the in function in q is e. in J.



----- Original Message -----
From: Björn Helgason <[email protected]>
To: Programming forum <[email protected]>
Sent: Tuesday, December 6, 2016 3:41 PM
Subject: Re: [Jprogramming] in function which beats the benchmark

in =. [: I. E.

       1 3 in 4 2 1 3 4 6 1  3
2 6



On 6 Dec 2016 09:46, "Abi" <[email protected]> wrote:

Hi,
I am new to J. Can someone implement the *in* function.
I have tried various ways but cannot get to beat the benchmark of ~130 ms.

list1: 0 til 10MM
list2 : 1M till 10MM

list2 *in* list1

The line above shows the in operator.

Thanks.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
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