<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Thread%3ATalk%3ASlowBot%2FDecision_Speed_Optimisation</id>
	<title>Thread:Talk:SlowBot/Decision Speed Optimisation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://robowiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Thread%3ATalk%3ASlowBot%2FDecision_Speed_Optimisation"/>
	<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=Thread:Talk:SlowBot/Decision_Speed_Optimisation&amp;action=history"/>
	<updated>2026-04-28T19:49:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://robowiki.net/w/index.php?title=Thread:Talk:SlowBot/Decision_Speed_Optimisation&amp;diff=30599&amp;oldid=prev</id>
		<title>Skilgannon: New thread: Decision Speed Optimisation</title>
		<link rel="alternate" type="text/html" href="http://robowiki.net/w/index.php?title=Thread:Talk:SlowBot/Decision_Speed_Optimisation&amp;diff=30599&amp;oldid=prev"/>
		<updated>2013-05-05T13:09:47Z</updated>

		<summary type="html">&lt;p&gt;New thread: Decision Speed Optimisation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;I was playing around with a speed comparison with manual point-in-field checks to the Rectangle2D.Double.contains(x,y) method, and discovered that if I used &amp;amp;&amp;amp; between the booleans I got pretty much exactly the same speed, but if I use &amp;amp; I get double the speed and exactly the same result. I'm guessing this is due to my CPU being able to evaluate multiple boolean expressions simultaneously, but if &amp;amp;&amp;amp; is used only one is allowed to be executed at a time, or perhaps &amp;amp; just allows the pipelines to stay more full because there is less branching. &lt;br /&gt;
&lt;br /&gt;
Of course, there are some reasons you might want &amp;amp;&amp;amp; instead, like null checking before examining an object property, and &amp;amp;&amp;amp; is smaller codesize for those bots that are codesize restricted, but particularly for high-load situations like the inside of precise prediction or play-it-forward loops, using &amp;amp; for your decisions might gain you some speed =)&lt;/div&gt;</summary>
		<author><name>Skilgannon</name></author>
		
	</entry>
</feed>