Post

 Resources 

Console


Well... Rag on a Stick (0 replies, 0 views) (2000-Aug-19)
-
Short Answer: Do Loop is less CPU intensive. Long Answer: Faster is basically the same (I think) as CPU intensive. The faster things are faster because the CPU needs to do less work (although maybe some 3d stuff may be different with acceleration - an exception) than the slower ones. A timer control will have some extra things for the CPU to calculate, which is why the minimum Interval is about 30ms (I'm not sure where I plucked than number from, someone may say otherwise). Because the Timer control is roughly the OOP version of a Do Loop, it will have extra calculations (which means more CPU intensive) than the simple procedurally (sp) Do Loop. This is why the early programs do not use OOP just because it wasn't around, which is because it wasn't practical - the computers didn't have enough power. Now that the computers are more powerful, we can embrace the new way of programming because it makes it easier to code, easier to understand and more reusable. Someone may want to correct me, because like always, I'm making up facts on the spot =)


-
Up One Level | Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 90 visitors within the last 20 minutes
RSS News Feed