Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: c-style for loop versus list for loop, and bigint

by Fletch (Chancellor)
on May 19, 2011 at 20:23 UTC ( #905793=note: print w/replies, xml ) Need Help??


in reply to c-style for loop versus list for loop, and bigint

My off the cuff guess would be that the bigint pragma isn't affecting the iterator underlying your 1..999 (which I want to say is optimized under the covers so an actual list isn't built) whereas it does affect the explicit incrementing.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://905793]
help
Chatterbox?
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2017-02-25 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (366 votes). Check out past polls.