HomePortalLatest imagesLog inRegister

 

 Merry christmas and Obito

Go down 
5 posters
Go to page : Previous  1, 2
AuthorMessage
Shinigami12

Shinigami12


Posts : 5

Merry christmas and Obito - Page 2 Empty
PostSubject: Re: Merry christmas and Obito   Merry christmas and Obito - Page 2 EmptyFri Jan 11, 2013 12:31 am

muzk wrote:

Anyways, it's gonna be constant complexity, nothing to care at all Surprised

Well a genetic algorithm runs in "constant" time but it's heavy computational. Complexity is something that one needs to take carely. For instance, Isertion Sort out performs Quicksort on sizes between (0,1000) but later grows slower (that's what complexity is about; growing). Here's a research paper which shows proves this hypothesis: Link The only thing I don't like about it, is it's sources but It looks quite combincing.

muzk wrote:
Quote :
That's in theory (if this would be C, Java then it's valid), but remember that vJass is not pure and insertion costs for every node in vJass's memory allocation rutine which is a bit expensive to be honest.
Anyways, it's gonna be constant complexity, nothing to care at all Surprised


Quote :
If you want to recycle timers. Use hookers instead, it will save you the need to care for calling the recycler:
How does hook works? (generated jass code)

For every CreateTimer() you normaly make, it will replace them with CreateTimer_Hook(). So you don't have to worry about calling the recycling functions. You can also apply that library for recycling anything like Groups, Forces, etc (not sure if cJass accepts Templates though, but textmacros should do).
Back to top Go down
 
Merry christmas and Obito
Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» [SM] Uchiha Obito
» [IM] Uchiha Obito
» [SM]Uchiha Obito

Permissions in this forum:You cannot reply to topics in this forum
Naruto Wars Unlimited :: Suggestions :: Hero Ideas-
Jump to: