<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Th30z - Coding on the Fly &#187; Data Structures</title>
	<atom:link href="http://th30z.netsons.org/category/data-structures/feed/" rel="self" type="application/rss+xml" />
	<link>http://th30z.netsons.org</link>
	<description>Matteo Bertozzi, Objective-C, Cocoa, C, C++, Qt4, iPhone, Mac OS X, Open Moko, Matteo Bertozzi Development</description>
	<lastBuildDate>Sun, 22 Nov 2009 09:47:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Data Structures: B*Tree</title>
		<link>http://th30z.netsons.org/2009/02/data-structures-btree/</link>
		<comments>http://th30z.netsons.org/2009/02/data-structures-btree/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 14:49:29 +0000</pubDate>
		<dc:creator>Matteo Bertozzi</dc:creator>
				<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[B*Tree]]></category>

		<guid isPermaLink="false">http://th30z.netsons.org/?p=488</guid>
		<description><![CDATA[Hierarchy and Relational Databases Doesn&#8217;t Scale well For Humans, they add Structure. They only scales well for an amount of structure that is feasible to learn.
I&#8217;m Writing a Library that contains some data structure useful for data indexing, this library will be the base for a simple FileSystem and it can be simply used by [...]]]></description>
			<content:encoded><![CDATA[<p><em>Hierarchy and Relational Databases Doesn&#8217;t Scale well For Humans, they add Structure. They only scales well for an amount of structure that is feasible to learn.</em></p>
<p>I&#8217;m Writing a Library that contains some data structure useful for data indexing, this library will be the base for a simple FileSystem and it can be simply used by Applications to store and retrieve data efficently. Today I&#8217;ve finished the B*Tree Implementation, Now I&#8217;ve to implement something for full-text search like <a href="http://en.wikipedia.org/wiki/Suffix_tree">Suffix Tree</a> or similar data structure.</p>
<p>Balanced trees are used in databases, and more generally, wherever a programmer needs to search and store to non-random memory by a key, and has the time to code it this way.</p>
<h2>Internal Nodes</h2>
<p style="text-align: center;"><a href="http://th30z.netsons.org/wp-content/uploads/btree-internalnode.png"><img class="size-full wp-image-486 aligncenter" title="B*Tree Internal Node" src="http://th30z.netsons.org/wp-content/uploads/btree-internalnode.png" alt="B*Tree Internal Node" width="358" height="69" /></a></p>
<p>Internal nodes consist of pointers to sub-trees separated by their delimiting keys. The key that precedes a pointer to a sub-tree is a duplicate of the first key in the first formatted node of that sub-tree. Internal nodes exist solely to allow determining which formatted node contains the item corresponding to a key.</p>
<h2>Leaf Nodes</h2>
<p style="text-align: center;"><a href="http://th30z.netsons.org/wp-content/uploads/btree-leafnode.png"><img class="size-full wp-image-487  aligncenter" title="B*Tree Leaf Node" src="http://th30z.netsons.org/wp-content/uploads/btree-leafnode.png" alt="B*Tree Leaf Node" width="554" height="62" /></a></p>
<p>Leaf nodes contains information, Information are stored in Items and each of which is identified by a key used to identify data and to keep sorted the tree. An item is a data container that is contained entirely within a single node, and it allows us to manage space within nodes. Every item has a key, an offset to where in the node the item body starts and a length of the item body.</p>
<p><em>If you want more information about this Project fill free to contact me, else you&#8217;ve to wait the first release of the project <img src='http://th30z.netsons.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://th30z.netsons.org/2009/02/data-structures-btree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
