-
September 18th, 2009, 12:47 AM
#1
Help need for the alternate function of for loop
I am developing a project which interface audio and video into it.
Here in my code it contain many number of for loops. I want to change the for loops with some other alternate function, can anyone plz help. want to optimise my code.. plz help with some optimization technique or any tools there to do
Is there any alternate function for for loop
-
September 18th, 2009, 01:47 AM
#2
Re: Help need for the alternate function of for loop
You said you want to change the for loops with some other alternate function, but we do not know to change the number of loops or change functions of loops ??
Little by little one goes far
Keep moving.......!
Nothing is impossible !
-
September 18th, 2009, 02:45 AM
#3
Re: Help need for the alternate function of for loop
Sorry 4 my incomplete post.
Her eit have 2 levels of nesting.. its a 2D array... matrix addition like code only
-
September 18th, 2009, 02:49 AM
#4
Re: Help need for the alternate function of for loop
Is there any alternate function for for loop
Yes. A do/while. But that doesn't change anything. Optimizing code is about reducing the instructions, so using another kind of loop is still a loop and doesn't reduce the amount of instructions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|