in reply to Variable declaration optimization?

If the time difference is large enough to matter, you'll be able to Benchmark it. But I doubt it, because if there's a speed difference, it'll be very small compared to the time of the subroutine call.
Perl 6 - links to (nearly) everything that is Perl 6.