<?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: Linked List implementation in PHP</title>
	<atom:link href="http://www.codediesel.com/php/linked-list-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codediesel.com/php/linked-list-in-php/</link>
	<description>/* PHP &#38; MySQL Journal */</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:39:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Miha</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1687</link>
		<dc:creator>Miha</dc:creator>
		<pubDate>Wed, 24 Feb 2010 09:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1687</guid>
		<description>http://pastie.org/840202

I tried but still segfault, when I get to 29489 it craches.</description>
		<content:encoded><![CDATA[<p><a href="http://pastie.org/840202" rel="nofollow">http://pastie.org/840202</a></p>
<p>I tried but still segfault, when I get to 29489 it craches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sameer</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1686</link>
		<dc:creator>sameer</dc:creator>
		<pubDate>Wed, 24 Feb 2010 04:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1686</guid>
		<description>Hello Miha,
The code works fine at my end on both Windows and Linux. The most probable reason for the Segmentation Fault could be one of the PHP extensions. Try running it without the memory_get_usage(1).</description>
		<content:encoded><![CDATA[<p>Hello Miha,<br />
The code works fine at my end on both Windows and Linux. The most probable reason for the Segmentation Fault could be one of the PHP extensions. Try running it without the memory_get_usage(1).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miha</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1685</link>
		<dc:creator>Miha</dc:creator>
		<pubDate>Tue, 23 Feb 2010 20:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1685</guid>
		<description>I’m testing with windows 7 and wamp php 5.3.0
  $list = new LinkList();
  echo memory_get_usage(1)/1024 . &quot;kB\n&quot;;
  for($i = 0; $i small 50000; $i++) {
    $list-&gt;insertLast(10);
  }
  echo memory_get_usage(1) . &quot;B\n&quot;;


This causes php cli seg. fault, i also tried on linux also seg fault,
so there is some kind of limit if I try this it works:

$array = array();
for($i = 0; $i small 200000; $i++) {
$array[] = new LinkedListNode(10);
}

Where/what is the limit?</description>
		<content:encoded><![CDATA[<p>I’m testing with windows 7 and wamp php 5.3.0<br />
  $list = new LinkList();<br />
  echo memory_get_usage(1)/1024 . &#8220;kB\n&#8221;;<br />
  for($i = 0; $i small 50000; $i++) {<br />
    $list-&gt;insertLast(10);<br />
  }<br />
  echo memory_get_usage(1) . &#8220;B\n&#8221;;</p>
<p>This causes php cli seg. fault, i also tried on linux also seg fault,<br />
so there is some kind of limit if I try this it works:</p>
<p>$array = array();<br />
for($i = 0; $i small 200000; $i++) {<br />
$array[] = new LinkedListNode(10);<br />
}</p>
<p>Where/what is the limit?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sameer</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1613</link>
		<dc:creator>sameer</dc:creator>
		<pubDate>Sun, 03 Jan 2010 17:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1613</guid>
		<description>Memory allocation is one small application of a linked-list. Linked lists are general data structures which can be used to define other specific data structures like hash tables, stacks, queues etc.</description>
		<content:encoded><![CDATA[<p>Memory allocation is one small application of a linked-list. Linked lists are general data structures which can be used to define other specific data structures like hash tables, stacks, queues etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: usman</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1611</link>
		<dc:creator>usman</dc:creator>
		<pubDate>Sun, 03 Jan 2010 14:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1611</guid>
		<description>hi. i learn linklist in c++ for solve the memory allocation problem.
but why you use this in php....
cnfuzd...</description>
		<content:encoded><![CDATA[<p>hi. i learn linklist in c++ for solve the memory allocation problem.<br />
but why you use this in php&#8230;.<br />
cnfuzd&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sameer</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1376</link>
		<dc:creator>sameer</dc:creator>
		<pubDate>Fri, 28 Aug 2009 12:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1376</guid>
		<description>And you are absolutely right. Actually the above code was from a Singleton library, and hence the static modifier. You can see that my other post

http://www.codediesel.com/algorithms/doubly-linked-list-in-php/

does away with the static modifier for the &#039;count&#039; variable. But I&#039;ll make the necessary changes on this one too.</description>
		<content:encoded><![CDATA[<p>And you are absolutely right. Actually the above code was from a Singleton library, and hence the static modifier. You can see that my other post</p>
<p><a href="http://www.codediesel.com/algorithms/doubly-linked-list-in-php/" rel="nofollow">http://www.codediesel.com/algorithms/doubly-linked-list-in-php/</a></p>
<p>does away with the static modifier for the &#8216;count&#8217; variable. But I&#8217;ll make the necessary changes on this one too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My name</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1375</link>
		<dc:creator>My name</dc:creator>
		<pubDate>Fri, 28 Aug 2009 11:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1375</guid>
		<description>Why is the count static? 
IMHO this is an attribute that belongs to an instance and not the whole class! Otherwise, you would count all nodes in all lists you have currently instantiated!</description>
		<content:encoded><![CDATA[<p>Why is the count static?<br />
IMHO this is an attribute that belongs to an instance and not the whole class! Otherwise, you would count all nodes in all lists you have currently instantiated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sameer</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1255</link>
		<dc:creator>sameer</dc:creator>
		<pubDate>Fri, 19 Jun 2009 03:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1255</guid>
		<description>Not at present. But I&#039;ll surely add it in coming days.</description>
		<content:encoded><![CDATA[<p>Not at present. But I&#8217;ll surely add it in coming days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramdani</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1254</link>
		<dc:creator>ramdani</dc:creator>
		<pubDate>Thu, 18 Jun 2009 23:32:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1254</guid>
		<description>Do you have example of double linklist non circular for php</description>
		<content:encoded><![CDATA[<p>Do you have example of double linklist non circular for php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artem Russakovskii</title>
		<link>http://www.codediesel.com/php/linked-list-in-php/comment-page-1/#comment-1244</link>
		<dc:creator>Artem Russakovskii</dc:creator>
		<pubDate>Wed, 10 Jun 2009 08:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=54#comment-1244</guid>
		<description>Nice, clean, and complete set of functions, and with Unit tests!

I wrote my own implementation and found this a perfect reference to double check everything against.</description>
		<content:encoded><![CDATA[<p>Nice, clean, and complete set of functions, and with Unit tests!</p>
<p>I wrote my own implementation and found this a perfect reference to double check everything against.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

