in reply to Re^2: c-style for loop versus list for loop, and bigint
in thread c-style for loop versus list for loop, and bigint
Is that intentional?
Yes. The range operator is intended to be efficient for the majority of every day use cases.
As you've already discovered, if you need to iterate infinite precision integers, you can easily use the c-style alternative.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: c-style for loop versus list for loop, and bigint
by LanX (Saint) on May 19, 2011 at 21:44 UTC | |
by BrowserUk (Patriarch) on May 19, 2011 at 21:56 UTC | |
by LanX (Saint) on May 19, 2011 at 22:01 UTC | |
by BrowserUk (Patriarch) on May 19, 2011 at 22:30 UTC | |
by LanX (Saint) on May 19, 2011 at 23:06 UTC | |
|