Think about Loose Coupling | |
PerlMonks |
Re: Re3: Anyone use "xor" in conditionals?by BrowserUk (Patriarch) |
on Jul 15, 2003 at 02:30 UTC ( [id://274262]=note: print w/replies, xml ) | Need Help?? |
Mostly cos I'd never even considered looking at, never mind using a module to determine whether a year was a leapyear or not. I only looked up Date::Leapyear in order to find a representative example of "the conventional way". I was only responding to the question about xor, and never gave a thought to the performance until Abigail-II (rightly) posted the benchmark. From there, I couldn't not rise to the challenge could I :). Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
In Section
Seekers of Perl Wisdom
|
|