With the amount of RAM and the size of the argument, 
your timings are likely influenced by paging and are not 
very meaningful.



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