something is getting optimized away at compile time
Maybe it is due to the fact that Blake's was a real subroutine with parameters and mine is more like a <code>constant<code>...
I expected a wider difference in my test case. Of course, Blake's is far more general than mine and it's results are much more reliable.
Ciao!
--bronto
# Another Perl edition of a song:
# The End, by The Beatles
END {
$you->take($love) eq $you->made($love) ;
}
In reply to Re: Re^5: Generating an array of n identical elements
by bronto
in thread Generating an array of n identical elements
by bronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |