Maybe I'm missing something, but can't the length just be size_t?
I doubt there is much you could do with code which generates
finite sequences larger than the addressable memory space, aside
from very abstract and inefficient mathematical calculations
which skip over elements. iota would probably work better with
size_t in most cases, and if you really well and truly need
something which generates finite sequences of integers larger
than the addressable memory space, you can always just write your
own version.
- Re: Weird issue with s... Jonathan M Davis via Digitalmars-d
- Re: Weird issue wi... Steven Schveighoffer via Digitalmars-d
- Re: Weird issue wi... ixid via Digitalmars-d
- Re: Weird issu... Jonathan M Davis via Digitalmars-d
- Re: Weird... H. S. Teoh via Digitalmars-d
- Re: Weird... Andrei Alexandrescu via Digitalmars-d
- Re: W... H. S. Teoh via Digitalmars-d
- Re: W... Meta via Digitalmars-d
- Re: W... Andrei Alexandrescu via Digitalmars-d
- Re: W... Meta via Digitalmars-d
- Re: W... w0rp via Digitalmars-d
- Re: W... Jonathan M Davis via Digitalmars-d
- Re: W... Dominikus Dittes Scherkl via Digitalmars-d
- Re: W... Andrei Alexandrescu via Digitalmars-d
- Re: Weird issue with std.range.... Meta via Digitalmars-d
