View Single Post
  #323 (permalink)  
Old 02-12-2007, 07:06 AM
chrisstoff chrisstoff is offline
Senior Member
 
Join Date: Jun 2006
Posts: 373
chrisstoff is on a distinguished road
Hi Shinigami,

Nice to see you here again!
Thank you for the advice and I am waiting for the continuation of your work

Quote:
Originally Posted by Shinigami
hi ppl! its nice to see you're all working hard here.
just wanted to add 2 cents to your work:
if you include if's one into another instead of using &&, EA works MUCH faster (tester tests for ALL conditions if you use && symbol so even if one of the conditions is false, check goes on)
including if's means:
instead of:
if(i>0&&i<100) Print("SLOW")
use:
if(i>0)
{
if(i<100)
Print("MUCH FASTER")
}

Hope that helps!
And yes, I checked the effect and was amazed - that really helps speed things up.

Oh and don't ask - no progress here. I'm still figuring how to write it so it would work exactly how I want it to work, no progress though. I'll inform you if there is any.
Reply With Quote