The reflexive case of the dyad i. (i.~y and y i. y) 
on floating point arguments has been made faster
in J6.02.  Likewise other verbs that depend on this 
case, such as ~.y and ~:y . The following benchmarks
demonstrate the improvement. 

y=: 0.07 * 1e6 [EMAIL PROTECTED] 5e5
6!:2 'Expression'

Expression        J 6.02     J 6.01     Ratio 
i.~ y            0.254155   0.393665    1.55 
~. y             0.261515   0.400915    1.53 
~: y             0.255329   0.395172    1.55 
(</. [EMAIL PROTECTED]) y     0.502249   0.635284    1.26 



----- Original Message -----
From: Richard Hill <[EMAIL PROTECTED]>
Date: Thursday, June 21, 2007 5:12 am
Subject: Re: [Jgeneral] Challenge to expert J'ers

> refer: J forum 07 06 20 R. Hui
> > Please re-run the benchmark on J6.01 and 
> >  APL+Win 6.4 on the following data:
> >  
> >  i=: ? 1e6 $ 5e5
> >  f=: 0.07 * i
> >                 J6.01              APL+Win 6.4
>  integer     i.~ i   0.152        i{iota}i   0.511
>  float       i.~ f   0.985        f{iota}f   6.970
> on 1.7GHz Thinkpad 512MB
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to