Sign in to follow this  
Followers 0
timsta97

Speed Question

12 posts in this topic

About how long would it take to count from 1 to 10,000,000 using a FOR loop?

Share this post


Link to post
Share on other sites



I think it depends on your hardware configuration.

Share this post


Link to post
Share on other sites

I think it depends on your hardware configuration.

I agree, but I would like to know what other people have gotten

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

I think it depends on your hardware configuration.

Correct, here it takes less than 0.5 seconds.

EDIT: Lol, AdmiralAlkex

Edited by Inverted

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I think it depends on your hardware configuration.

Oh my god, you must be a genius if you came up with that yourself! You should get a dozen nobel-prices for that! Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites

Correct, here it takes less than 0.5 seconds.

EDIT: Lol, AdmiralAlkex

What is your hardware configuration?

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Well, with the number of posts I've read here on the forums, it appears that for some times, pointing out the obvious actually helps.

I was assuming that this was one of those cases.

Edited by omikron48

Share this post


Link to post
Share on other sites

What is your hardware configuration?

core 2 duo e8400 3ghz + 4gb OCZ Reaper HPC

Share this post


Link to post
Share on other sites

Takes 0.9s for me.

This test would involve mainly cpu speed I think.

I got a AMD2 4400+ 2.2GHz

Share this post


Link to post
Share on other sites

0.649 seconds here.

Got Intel Core 2 6320.

Share this post


Link to post
Share on other sites

Thanks everybody, I never realized this would get so many responses.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0