<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Saving Database Space through Bit-masking</title>
	<atom:link href="http://buildingbrowsergames.com/2008/09/04/saving-database-space-through-bit-masking/feed/" rel="self" type="application/rss+xml" />
	<link>http://buildingbrowsergames.com/2008/09/04/saving-database-space-through-bit-masking/</link>
	<description>Ever wanted to build a browsergame?</description>
	<lastBuildDate>Wed, 10 Mar 2010 20:26:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jktawer</title>
		<link>http://buildingbrowsergames.com/2008/09/04/saving-database-space-through-bit-masking/comment-page-1/#comment-522</link>
		<dc:creator>jktawer</dc:creator>
		<pubDate>Thu, 15 Oct 2009 07:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=283#comment-522</guid>
		<description>You got a nice blog up there.&lt;br&gt;&lt;br&gt;respect&lt;br&gt;jaine&lt;br&gt;______________________________________________&lt;br&gt;&lt;a href=&quot;http://www.passthedrugtests.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;pass a the drug test&lt;/a&gt; &#124; &lt;a href=&quot;http://www.passingmydrugtest.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;pass a drug test&lt;/a&gt; &#124; &lt;a href=&quot;http://www.passusa.com/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;pass drug testing&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>You got a nice blog up there.</p>
<p>respect<br />jaine<br />______________________________________________<br /><a href="http://www.passthedrugtests.com" target="_blank" rel="nofollow">pass a the drug test</a> | <a href="http://www.passingmydrugtest.com/" target="_blank" rel="nofollow">pass a drug test</a> | <a href="http://www.passusa.com/" target="_blank" rel="nofollow">pass drug testing</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge</title>
		<link>http://buildingbrowsergames.com/2008/09/04/saving-database-space-through-bit-masking/comment-page-1/#comment-128</link>
		<dc:creator>Jorge</dc:creator>
		<pubDate>Thu, 02 Oct 2008 18:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=283#comment-128</guid>
		<description>I am using the same logic on a project, a very quick way to get around using reference tables. Good article, great ammunition in the tech group for my idea!</description>
		<content:encoded><![CDATA[<p>I am using the same logic on a project, a very quick way to get around using reference tables. Good article, great ammunition in the tech group for my idea!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gostyloj</title>
		<link>http://buildingbrowsergames.com/2008/09/04/saving-database-space-through-bit-masking/comment-page-1/#comment-106</link>
		<dc:creator>gostyloj</dc:creator>
		<pubDate>Sat, 13 Sep 2008 23:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=283#comment-106</guid>
		<description>Good point Mattias.  Just to explain a bit further what the operator notation is, the &#039;&amp;&#039; will do a bit comparison where both members in the comparison need to have that bit set to 1.  Because you are doing the AND operator all the bit places you don&#039;t care about need to be set to 1 so they maintain their value.  The &#039;~&#039; operator inverts all the bits in the value so where a variable might look like 00010000, the inverse of that would look like 11101111.</description>
		<content:encoded><![CDATA[<p>Good point Mattias.  Just to explain a bit further what the operator notation is, the &#8216;&#038;&#8217; will do a bit comparison where both members in the comparison need to have that bit set to 1.  Because you are doing the AND operator all the bit places you don&#8217;t care about need to be set to 1 so they maintain their value.  The &#8216;~&#8217; operator inverts all the bits in the value so where a variable might look like 00010000, the inverse of that would look like 11101111.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mattias</title>
		<link>http://buildingbrowsergames.com/2008/09/04/saving-database-space-through-bit-masking/comment-page-1/#comment-103</link>
		<dc:creator>Mattias</dc:creator>
		<pubDate>Sat, 13 Sep 2008 17:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=283#comment-103</guid>
		<description>Might want to note that in order to take off one of the researches (for some unknown reason) you need to AND with the complement of the bit.
For example, if you had picked the g_shield_research and want to degrade it or something you use:

$newPlayerResearch = $element-&gt;research &amp;~$g_shield_research;</description>
		<content:encoded><![CDATA[<p>Might want to note that in order to take off one of the researches (for some unknown reason) you need to AND with the complement of the bit.<br />
For example, if you had picked the g_shield_research and want to degrade it or something you use:</p>
<p>$newPlayerResearch = $element-&gt;research &amp;~$g_shield_research;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blair Beckwith</title>
		<link>http://buildingbrowsergames.com/2008/09/04/saving-database-space-through-bit-masking/comment-page-1/#comment-101</link>
		<dc:creator>Blair Beckwith</dc:creator>
		<pubDate>Fri, 05 Sep 2008 11:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=283#comment-101</guid>
		<description>These tutorials are simply amazing! Thank you do much for writing them!  You definately have a new fan.</description>
		<content:encoded><![CDATA[<p>These tutorials are simply amazing! Thank you do much for writing them!  You definately have a new fan.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
