Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
ADDED Double sorry! I didn't realize I could go bask and modify my posts.
Really cool! Sorry, didn't realize I needed tags... Benchmark: timing 1000000 iterations of Grep, Max, Ternary... Grep: 4 wallclock secs ( 3.61 usr + 0.01 sys = 3.62 CPU) Max: 9 wallclock secs ( 8.47 usr + -0.01 sys = 8.46 CPU) Ternary: 9 wallclock secs ( 8.51 usr + 0.02 sys = 8.53 CPU) This is perl, version 5.005_03 built for i386-linux Linux 2.2.12-20 P3 450MHz HP Kayak In reply to RE: Algorithm Efficiency vs. Specialized Hardware?
by ddeyoung
|
|