<?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"
	>
<channel>
	<title>Comments on: binary search</title>
	<atom:link href="http://erl.nfshost.com/2007/08/11/binary-search/feed/" rel="self" type="application/rss+xml" />
	<link>http://erl.nfshost.com/2007/08/11/binary-search/</link>
	<description></description>
	<pubDate>Tue, 02 Dec 2008 04:51:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Mark Aufflick</title>
		<link>http://erl.nfshost.com/2007/08/11/binary-search/#comment-22</link>
		<dc:creator>Mark Aufflick</dc:creator>
		<pubDate>Tue, 18 Dec 2007 12:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://erl.nfshost.com/wordpress/?p=10#comment-22</guid>
		<description>Hi - I saw the discussion on "The Erlane project" about binary tree v binary search in Erlang. I (also an erlang newbie) found it pretty easy to code a binary tree implementation which I posted on my blog http://mark.aufflick.com/blog/2007/11/30/trees-in-erlang 

A kind commenter on my blog entry pointed me to the fact that there is a good binary tree implementation in the standard library that comes with your erlang installation in lib/stdlib/src/gb_trees.erl</description>
		<content:encoded><![CDATA[<p>Hi - I saw the discussion on &#8220;The Erlane project&#8221; about binary tree v binary search in Erlang. I (also an erlang newbie) found it pretty easy to code a binary tree implementation which I posted on my blog <a href="http://mark.aufflick.com/blog/2007/11/30/trees-in-erlang" rel="nofollow">http://mark.aufflick.com/blog/2007/11/30/trees-in-erlang</a> </p>
<p>A kind commenter on my blog entry pointed me to the fact that there is a good binary tree implementation in the standard library that comes with your erlang installation in lib/stdlib/src/gb_trees.erl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leandro</title>
		<link>http://erl.nfshost.com/2007/08/11/binary-search/#comment-12</link>
		<dc:creator>leandro</dc:creator>
		<pubDate>Mon, 29 Oct 2007 20:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://erl.nfshost.com/wordpress/?p=10#comment-12</guid>
		<description>hey, nice post!

I concerned about the following line:

Elt = lists:nth(Probe, List)

Do u know how complex is lists:nth()? Is it O(n) or O(1)?

Do u agree that the entire algorithm complexity ll be O(n*log(n)) if nth() is O(n)?

Best regards.</description>
		<content:encoded><![CDATA[<p>hey, nice post!</p>
<p>I concerned about the following line:</p>
<p>Elt = lists:nth(Probe, List)</p>
<p>Do u know how complex is lists:nth()? Is it O(n) or O(1)?</p>
<p>Do u agree that the entire algorithm complexity ll be O(n*log(n)) if nth() is O(n)?</p>
<p>Best regards.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
