On Tue, 31 May 2011 20:29:51 +0200, KennyTM~ <kenn...@gmail.com> wrote:
If your program needs an array of 4 billion elements (2e+19 elements on 64-bit system), you're programming it wrong.
Not true. (for 32 bits) True for simple arrays, yes. Not for other ranges that may e.g. lazily read files. That said, if you do that, you really, really should consider using longs instead of ints. -- Simen