in reply to Algorithm Efficiency vs. Specialized Hardware?

Benchmark: timing 1000000 iterations of Grep, Max, Ternary...
Grep: 7 wallclock secs ( 5.87 usr + 0.00 sys = 5.87 CPU)
Max: 11 wallclock secs (10.87 usr + 0.00 sys = 10.87 CPU)
Ternary: 11 wallclock secs (10.95 usr + 0.00 sys = 10.95 CPU)
$ perl -v
This is perl, version 5.005_03 built for sun4-solaris


Your Humble Servant,
-Chuck
  • Comment on Re: Algorithm Efficiency vs. Specialized Hardware?