Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2016-12-04 21:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.