in reply to Re: Anyone use "xor" in conditionals?
in thread Anyone use "xor" in conditionals?
Ah! But if it is out and out speeed we are after then I might have offered :)
sub buk2 { $_[0] % 4 ? 0 : $_[0] % 100 ? 1 : not $_[0] % 400; } Rate browseruk isleap abigail buk2 browseruk 82.8/s -- -40% -54% -67% isleap 138/s 67% -- -24% -45% abigail 180/s 118% 31% -- -28% buk2 251/s 203% 82% 39% --
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re3: Anyone use "xor" in conditionals?
by dragonchild (Archbishop) on Jul 15, 2003 at 02:17 UTC | |
by BrowserUk (Patriarch) on Jul 15, 2003 at 02:30 UTC | |
by zengargoyle (Deacon) on Jul 15, 2003 at 03:36 UTC | |
by dragonchild (Archbishop) on Jul 15, 2003 at 13:49 UTC | |
by zengargoyle (Deacon) on Jul 15, 2003 at 20:32 UTC | |
| |
|
Re: Anyone use "xor" in conditionals?
by Abigail-II (Bishop) on Jul 15, 2003 at 07:05 UTC | |
by BrowserUk (Patriarch) on Jul 15, 2003 at 09:31 UTC |