View Full Version : is flash capable of 1,000,000 calculations a second?
is flash phisically capable of 1million calculations in under a second? or is this entirely based on the CPU speed....
the calculations are x+y position comparisons.... where if((user1x-user2x>600)||(user1y-user2y>600)) { send info}
must be calculated upto 1 million times within a second or it will laggggg as the ones it doesnt calculate in the second are calculated in the next second but thats + another million!
of course it's entirely based on CPU speed !!!! :)
and i realy doupd thet there any system around which is fast enought
mayby a some serverworkstation whit 16 Xeon procesors (not now how multitasking kapabel flash is)
for (a=0; a<1000000; a++) {
}
trace(a);
this take around 2-3 sec by my before the trace shows up and it not even do somthing !!
i can do this with a loop, but loops lag.... so is there any way to keep a loop visible for 5 seconds without using a loop?
+ the loop would have to cycle 1,000,000 times
now that would be nice :D
CyanBlue
10-30-2004, 11:59 AM
Use setInterval() function...
The two posts look like crossposts to me, so I merged your threads... Please keep one question to one thread...
lol..oooook... but i dont think they were
CyanBlue
10-30-2004, 07:59 PM
Well... I still think they are pretty much the same question, but you really think it is not, then it is not... You might want to tell us more about what your final goal is so that people won't think of something else...
mahlok
10-30-2004, 08:41 PM
If you gave more information, someone most likely could think of a more efficient way of doing what you want to do. I know very little actionscript but I've been programming java for a couple years.
a "til" is a secret agent and not give informations away just like nothing you allways need at least 5 post's before you now what's his problem
lollllllllllllllllllllllllllllllll ;)
i jus did a nice long post on what im doing :D errrrrrrr its http://www.actionscript.org/forums/showthread.php3?t=57646
there...... if your interested :D
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.