Problems? Is your data what you think it is? | |
PerlMonks |
Re: 2Re: Not-so-Simple Switch statementby NetWallah (Canon) |
on Sep 14, 2003 at 02:07 UTC ( [id://291333]=note: print w/replies, xml ) | Need Help?? |
I re-ran the tests too, replacing the "print STDERR" with an assignment.
The "if" and "HashSub" methods speeds converge faster, with Hashsub becoming faster than "if" at a 22% match rate. The minor differences in results may have to do with OS and perl implementations. I'm running Activestate perl 5.8 under Windows XP.
In Section
Seekers of Perl Wisdom
|
|