in reply to Algorithm Efficiency vs. Specialized Hardware?

This is perl, version 5.005_03 built for i386-linux

Benchmark: timing 1000000 iterations of Grep, Max, Ternary...

Grep: 4 wallclock secs ( 3.63 usr + 0.00 sys = 3.63 CPU)

Max: 9 wallclock secs ( 8.36 usr + 0.03 sys = 8.39 CPU)

Ternary: 9 wallclock secs ( 8.43 usr + -0.01 sys = 8.42 CPU)

Linux 2.2.12-20

HP Kayak 450MHz P3

  • Comment on RE: Algorithm Efficiency vs. Specialized Hardware?