Difference between revisions of "User talk:Navajo"
(cleanup + question) |
(reply) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Just a simple question from Gibbs fifth rewrite: does robocode create a new instance of the robot every round or only once each battle? --[[User:Navajo|Navajo]] 00:40, 5 June 2010 (UTC) | Just a simple question from Gibbs fifth rewrite: does robocode create a new instance of the robot every round or only once each battle? --[[User:Navajo|Navajo]] 00:40, 5 June 2010 (UTC) | ||
+ | |||
+ | Every round. If you just use the instance from the first round, some stuff might still work, but it's only a quirk of Robocode's internals that this is so. (And it may not always work, if they change those internals.) --[[User:Voidious|Voidious]] 01:04, 5 June 2010 (UTC) | ||
+ | |||
+ | As i understand it, as of recent history, the internals are changed so less would work with the old instances. Also, keeping the old instances how has a much higher cost in the engine than it used to (leads a couple old bots that abuse it REALLY bad to have performance issues). The latest version of Robocode (1.7.2.0) also gives a big warning if a running bot has kept an old instance reference. --[[User:Rednaxela|Rednaxela]] 08:10, 5 June 2010 (UTC) |
Latest revision as of 09:10, 5 June 2010
Just a simple question from Gibbs fifth rewrite: does robocode create a new instance of the robot every round or only once each battle? --Navajo 00:40, 5 June 2010 (UTC)
Every round. If you just use the instance from the first round, some stuff might still work, but it's only a quirk of Robocode's internals that this is so. (And it may not always work, if they change those internals.) --Voidious 01:04, 5 June 2010 (UTC)
As i understand it, as of recent history, the internals are changed so less would work with the old instances. Also, keeping the old instances how has a much higher cost in the engine than it used to (leads a couple old bots that abuse it REALLY bad to have performance issues). The latest version of Robocode (1.7.2.0) also gives a big warning if a running bot has kept an old instance reference. --Rednaxela 08:10, 5 June 2010 (UTC)