in reply to Algorithm Efficiency vs. Specialized Hardware?

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

results from the script:

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

Grep: 5 wallclock secs ( 3.90 usr + 0.00 sys = 3.90 CPU)

Max: 11 wallclock secs ( 9.33 usr + 0.01 sys = 9.34 CPU)

Ternary: 11 wallclock secs ( 9.48 usr + 0.00 sys = 9.48 CPU)

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