in reply to Re: Optimizations and Efficiency
in thread Optimizations and Efficiency

$x = $y * 16;
Any good compiler would optimise this for you into this
$x = $y << 4;
C and C++ compilers do it automaticaly in the preprocessor. I don't see why Perl wouldn't do it either unless that it was seen that it wasn't needed or that it hasn't been put in yet.

BMaximus