On 5/2/20 1:53 PM, Dr. Jürgen Sauermann wrote:
Hi Bill,
I cannot reproduce this.
Did you run *./configure*after updating from SVN? Sometimes Makefiles slip
through and can cause performance differences that are then caused by
differering
* ./configure* options. I normally use make developwhich turns many debug
features on which are turned off when using the default *./configure* options.
CXXFLAGS=-Werror=maybe-uninitialized ./configure
I tried using "make develop" but couldn't figure out how to get the Werror
condition to apply. I've been using "timer" from the "timer" workspace to get
the timings.
It looks as if the problem started at svn 1274, the same one where I had to
start disabling the warning.
I have changed your benchmark a little to show the time spent:
*∇rr←sol nn;T**
**T←⎕TS**
**n←1↓⍳nn**
**r←,2**
**l:**
**→(nn<(↑n)*2)⍴x**
**r←r,↑n←(~∨⌿0=⊃r|¨⊂n)/n**
**→l**
**x:**
**r←r,1↓n**
**rr←+/r**
**0.001×0 0 0 24 60 60 1000⊥⎕TS-T**
**∇**
**
** ⊣sol 200000**
*
On 5/2/20 6:21 PM, Bill Heagy wrote:
For the last updates, my little test program has slowed down by a factor of
more than 4, debian 32 and 64 bit. (Same updates as the compiler problem
appeared, I think.)
∇rr←sol nn
n←1↓⍳nn
r←,2
l:
→(nn<(↑n)*2)⍴x
r←r,↑n←(~∨⌿0=⊃r|¨⊂n)/n
→l
x:
r←r,1↓n
rr←+/r
∇
sol 200000