Noticeable but not very significant (less than factor of 2).
For example:
plus=: +
sum =: plus/
g =: last,sum
ts=: 6!:2 , 7!:[EMAIL PROTECTED]
10 ts 'g^:200 [ 0 1x'
0.00100946 2304
10 ts 'g f.^:200 [ 0 1x'
0.000681427 4544
10 ts '({:,+/)^:200 [ 0 1x'
0.0005651 2688
----- Original Message -----
From: Kip Murray <[EMAIL PROTECTED]>
Date: Tuesday, July 11, 2006 6:48 pm
Subject: Re: [Jbeta] modification of f. adverb
> I always thought f. was a good idea because a tacit definition with user
> names in an implied loop can run noticeably slower than its f. version.
> In the non-f. version, user names must be looked up again in every pass
> through the implied loop. I have long thought efforts to speed name
> look-ups would be a good investment to improve J's performance.
>
>
> On Tue, 11 Jul 2006, R&S HUI wrote:
>
> | I think f. itself was a bad idea so I would be reluctant to add F. .
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm