timsta97 Posted October 2, 2009 Share Posted October 2, 2009 About how long would it take to count from 1 to 10,000,000 using a FOR loop? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 2, 2009 Share Posted October 2, 2009 Takes about 0.6 seconds here. $Timer = TimerInit() For $X = 1 to 10000000 Next ConsoleWrite(Round(TimerDiff($Timer))/1000 & " seconds" & @CRLF) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
omikron48 Posted October 2, 2009 Share Posted October 2, 2009 I think it depends on your hardware configuration. Link to comment Share on other sites More sharing options...
timsta97 Posted October 2, 2009 Author Share Posted October 2, 2009 I think it depends on your hardware configuration.I agree, but I would like to know what other people have gotten Link to comment Share on other sites More sharing options...
Inverted Posted October 2, 2009 Share Posted October 2, 2009 (edited) I think it depends on your hardware configuration.Correct, here it takes less than 0.5 seconds.EDIT: Lol, AdmiralAlkex Edited October 2, 2009 by Inverted Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted October 2, 2009 Share Posted October 2, 2009 (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 October 2, 2009 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
timsta97 Posted October 2, 2009 Author Share Posted October 2, 2009 Correct, here it takes less than 0.5 seconds.EDIT: Lol, AdmiralAlkexWhat is your hardware configuration? Link to comment Share on other sites More sharing options...
omikron48 Posted October 2, 2009 Share Posted October 2, 2009 (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 October 2, 2009 by omikron48 Link to comment Share on other sites More sharing options...
Inverted Posted October 2, 2009 Share Posted October 2, 2009 What is your hardware configuration?core 2 duo e8400 3ghz + 4gb OCZ Reaper HPC Link to comment Share on other sites More sharing options...
Firstone Posted October 2, 2009 Share Posted October 2, 2009 Takes 0.9s for me. This test would involve mainly cpu speed I think. I got a AMD2 4400+ 2.2GHz Link to comment Share on other sites More sharing options...
omikron48 Posted October 2, 2009 Share Posted October 2, 2009 0.649 seconds here. Got Intel Core 2 6320. Link to comment Share on other sites More sharing options...
timsta97 Posted October 2, 2009 Author Share Posted October 2, 2009 Thanks everybody, I never realized this would get so many responses. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now