I see, thanks On 10-12-11 12:33, R.E. Boss wrote: > ({.,#)/. dyad also (#,{.)/. ; special code; see the J 5.04 > release notes > (+/%#)/. dyad avoids building argument cells; see the J 6.02 > release notes > from http://www.jsoftware.com/help/dictionary/special.htm > > r=.1e6 ?@$9 > > ts '({.,#)/.~r' > 0.0036137404 2688 > > ts '({:,#)/.~r' > 0.031601099 28315776 > > > R.E. Boss > > >> -----Oorspronkelijk bericht----- >> Van: programming-boun...@jsoftware.com [mailto:programming- >> boun...@jsoftware.com] Namens Aai >> Verzonden: zaterdag 10 december 2011 9:47 >> Aan: Programming forum >> Onderwerp: Re: [Jprogramming] FW: A simple function >> >> >> >> On 09-12-11 22:47, Raul Miller wrote: >>> [I wrote this earlier and had thought I sent it, but apparently I did >>> not. My apologies if you get two copies of this message.] >>> >>> On Fri, Dec 9, 2011 at 1:43 PM, Aai<agroeneveld...@gmail.com> wrote: >>>> Well, how about >>>> >>>> r=.1e6 ?@$9 >>>> ts '({.,#)/.~r' >>>> 0.007779 1344 >>>> >>>> ts '(~.,#)/.~r' >>>> 0.083331 1.46822e7 >>> That's not exactly the issue, >> Sorry about that. Totally focused on (f,#)/. ~y. >> >>> It looks like ({.,#)/.~ has special code, >> Saying all (f,#)/. ~y is dragged along in speed because of the special >> code for #/.~y ? >> Perhaps the creators could clarify this issue. >> >> -- >> Met vriendelijke groet, >> @@i = Arie Groeneveld >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm
-- Met vriendelijke groet, @@i = Arie Groeneveld ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm