Execution time of a method.
843811May 21 2005 — edited Jun 15 2005Hi everybody.
I'm trying to program a chess player. The algo is ok but takes too mutch time.
By trying to optimize my code, I've tested the execution time tooken by many pieces of code.
I've found a method which takes the most often 0 ms, but some time to times, it takes 15 or 30 ms.
As this method has to be called thousends times, the program becoms very slow.
Has someone an axplaination why some times the method is executed in only 15 ms instead of 0 ?
Thank's in advance.