Difference between revisions of "Thread:Talk:XanderCat/Initialization Code Runtime Reduction Effort/reply (7)"

From Robowiki
Jump to navigation Jump to search
 
(spelling error)
 
Line 1: Line 1:
I thought once about Robocode being more multi-thread friendly if the engine called Thread.yield() in strategy places, like between ticks. But I never posted this suggestion in sourceforge.
+
I thought once about Robocode being more multi-thread friendly if the engine called Thread.yield() in strategic places, like between ticks. But I never posted this suggestion in sourceforge.
  
 
This way, most processing outside a Robocode instance would be done between ticks and not interfere with turn skipping.
 
This way, most processing outside a Robocode instance would be done between ticks and not interfere with turn skipping.
  
 
About dynamic overclocking, here I delete config/robocode.properties and run a single instance, which will measure CPU constant at minimum possible speed. Then I copy the file to all other installations. Tried to disable dynamic overclocking as well, but my laptop doesn't have the option in the BIOS.
 
About dynamic overclocking, here I delete config/robocode.properties and run a single instance, which will measure CPU constant at minimum possible speed. Then I copy the file to all other installations. Tried to disable dynamic overclocking as well, but my laptop doesn't have the option in the BIOS.

Latest revision as of 04:00, 17 February 2013

I thought once about Robocode being more multi-thread friendly if the engine called Thread.yield() in strategic places, like between ticks. But I never posted this suggestion in sourceforge.

This way, most processing outside a Robocode instance would be done between ticks and not interfere with turn skipping.

About dynamic overclocking, here I delete config/robocode.properties and run a single instance, which will measure CPU constant at minimum possible speed. Then I copy the file to all other installations. Tried to disable dynamic overclocking as well, but my laptop doesn't have the option in the BIOS.