No, the line has to look exactly like what I showed, with nothing else added to the sentence. No assignments, no parentheses, no other verbs.

Henry Rich


On 5/6/2016 8:13 PM, Louis de Forcrand wrote:
I see. So here the special code is implemented?

    1e2 timespacex 'a=: c}a,:d=: a%b [ c=: 0 ~: b=: ?1e6#5 [ a=: ?1e6#5'
0.103524 6.71141e7

If I take the random generators out of the timer, then it is
slightly faster and less space-hungry than the my previous
expression:

    a=: ?1e6#5
    b=: ?1e6#5
    1e2 timespacex 'a=: c}a,:d=: a%b [ c=: 0 ~: b'
0.0409632 5.03352e7

Best regards,
Louis

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