I note also that there has been a change in performance 
for  2</\y   between J5.04 and J6.01:

   y=: 1e6 [EMAIL PROTECTED] 2e9
   (2 </\y) -: (}.>}:) y
1

J5.04                     J6.01
   ts '(}.>}:) y'            ts '(}.>}:) y'
0.113248 9.43814e6        0.111587 9.43808e6
   ts '2 </\ y'              ts '2 </\y'
1.9884 1.36332e7          0.0813349 1.04998e6



----- Original Message ----- 
From: "Brian Schott" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Friday, March 24, 2006 9:54 AM
Subject: Re: [Jprogramming] Closest local minimums of data

Using my 5 year old 533mhz Mac with 640mb ram (very
sloooooow) and J5.04 the differences are much more dramatic,
as well as slow. Btw, the space usage differential is
greater for the last two tests, also.

   ts 'D=:10000000$d'       NB. reference timing
0.39102 6.71098e7
   ts'((1:,2:>/\]);@(<&(<./\);. 1)])D'
83.27 5.08264e8
   ts'((1:,}:>}.);@(<&(<./\);. 1)])D'
32.0341 5.08263e8
   ts '(}.>}:)D'
0.988776 1.50996e8
   ts '(2: >/\ ])D'
29.152 2.18106e8


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

Reply via email to