in reply to how to speed up program dealing with large numbers?
If you want one line if statements use Perl's statement modifier form of if:
$phiApprox = 0 if $i <= 1;
for and while can be used that way too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to speed up program dealing with large numbers?
by Solarplight (Sexton) on Mar 22, 2010 at 00:41 UTC |