in reply to Algorithm Efficiency vs. Specialized Hardware?
What's going on? Somebody help me update my version of reality! :-)
Here is what happens on my system:
It is a dual PPro 200 (180, overclocked), RedHat 5.2 (seriously upgraded - 2.2.12 kernel).Benchmark: timing 1000000 iterations of Grep, Max, Ternary... Grep: 10 wallclock secs (10.75 usr + 0.05 sys = 10.80 CPU) Max: 31 wallclock secs (31.10 usr + 0.05 sys = 31.15 CPU) Ternary: 32 wallclock secs (31.29 usr + 0.01 sys = 31.30 CPU)
This is perl, version 5.005_57 built for i686-linux-thread
|
|---|