in reply to Re^2: how to speed up program dealing with large numbers?
in thread how to speed up program dealing with large numbers?
1/ no. Although Perl 5.10 has some nice features that it is worth upgrading to for. say and the new switch processing are nice.
2/ You ought not be doing that in C++ either! C requires declarations to all be at the start of a block, but in C++ you can put em anywhere.
3/ The increment and update assignment (+=, *=, .=, ...) treat undef as a special case and "do the right thing". Perl has a fair bit of DWIMery (Do What I Mean) and this is one aspect of that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to speed up program dealing with large numbers?
by Solarplight (Sexton) on Mar 22, 2010 at 05:09 UTC | |
by GrandFather (Saint) on Mar 22, 2010 at 09:09 UTC | |
by Solarplight (Sexton) on Mar 22, 2010 at 15:27 UTC |