<?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: Friday Algorithms: Quicksort &#8211; Difference Between PHP and JavaScript</title>
	<atom:link href="/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/</link>
	<description>on web development</description>
	<lastBuildDate>Fri, 26 Oct 2018 21:40:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>By: Stoimen</title>
		<link>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/comment-page-1/#comment-17442</link>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
		<pubDate>Tue, 27 Nov 2012 15:35:00 +0000</pubDate>
		<guid isPermaLink="false">/?p=1602#comment-17442</guid>
		<description><![CDATA[Hi tzulac,

Indeed that is a bad practice. However I made it because it&#039;s more important to show the frame of the algorithm. As you know different environemnts have different approaches when trying to optimize a chunk of code and mine is PHP. Thus you can go for a different solution in other languages. That is why I just didn&#039;t focus on this part of the code.

However, thanks for the remark!]]></description>
		<content:encoded><![CDATA[<p>Hi tzulac,</p>
<p>Indeed that is a bad practice. However I made it because it&#8217;s more important to show the frame of the algorithm. As you know different environemnts have different approaches when trying to optimize a chunk of code and mine is PHP. Thus you can go for a different solution in other languages. That is why I just didn&#8217;t focus on this part of the code.</p>
<p>However, thanks for the remark!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tzulac</title>
		<link>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/comment-page-1/#comment-17440</link>
		<dc:creator><![CDATA[tzulac]]></dc:creator>
		<pubDate>Tue, 27 Nov 2012 13:32:22 +0000</pubDate>
		<guid isPermaLink="false">/?p=1602#comment-17440</guid>
		<description><![CDATA[I started to study algorithm (and started with sorting algorithms of course!) and found some interesting thing. I looked on the web for examples and all use at iteration something like that (and you too):
for ($i = 1; $i &#060; count($array); $i++)...
I found that is not efficient as time consuption because array elements must be counted at every iteration. I think is optim to memorize counted value first. I run some test and found that.
What is your opinion?]]></description>
		<content:encoded><![CDATA[<p>I started to study algorithm (and started with sorting algorithms of course!) and found some interesting thing. I looked on the web for examples and all use at iteration something like that (and you too):<br />
for ($i = 1; $i &lt; count($array); $i++)&#8230;<br />
I found that is not efficient as time consuption because array elements must be counted at every iteration. I think is optim to memorize counted value first. I run some test and found that.<br />
What is your opinion?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filip</title>
		<link>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/comment-page-1/#comment-16692</link>
		<dc:creator><![CDATA[Filip]]></dc:creator>
		<pubDate>Mon, 01 Oct 2012 16:18:00 +0000</pubDate>
		<guid isPermaLink="false">/?p=1602#comment-16692</guid>
		<description><![CDATA[I did mistake. =) I meant, that this implementation works with PHP, C++, Pascal but with javascript it doesn&#039;t work, because of undefined statement. There are lots of implementation, but no one is suited for animation that I need to school project.

Thank you very much! =)]]></description>
		<content:encoded><![CDATA[<p>I did mistake. =) I meant, that this implementation works with PHP, C++, Pascal but with javascript it doesn&#8217;t work, because of undefined statement. There are lots of implementation, but no one is suited for animation that I need to school project.</p>
<p>Thank you very much! =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filip</title>
		<link>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/comment-page-1/#comment-16691</link>
		<dc:creator><![CDATA[Filip]]></dc:creator>
		<pubDate>Mon, 01 Oct 2012 15:59:38 +0000</pubDate>
		<guid isPermaLink="false">/?p=1602#comment-16691</guid>
		<description><![CDATA[http://pastebin.com/UFaT4r4C (val[] is array)

I need quick sort that doesn&#039;t work with buffers, like you did. Just let it work on one array, because I want to animate it and each swap save in another array to use it on animating etc... This algorithm works with PHP, C++, but with this implementation, it doesn&#039;t work. In while loops I get into undefined statement and whole algorithm loops forever.]]></description>
		<content:encoded><![CDATA[<p><a href="http://pastebin.com/UFaT4r4C" rel="nofollow">http://pastebin.com/UFaT4r4C</a> (val[] is array)</p>
<p>I need quick sort that doesn&#8217;t work with buffers, like you did. Just let it work on one array, because I want to animate it and each swap save in another array to use it on animating etc&#8230; This algorithm works with PHP, C++, but with this implementation, it doesn&#8217;t work. In while loops I get into undefined statement and whole algorithm loops forever.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoimen</title>
		<link>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/comment-page-1/#comment-16689</link>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
		<pubDate>Mon, 01 Oct 2012 15:13:57 +0000</pubDate>
		<guid isPermaLink="false">/?p=1602#comment-16689</guid>
		<description><![CDATA[@Filip - please provide some code as an example!]]></description>
		<content:encoded><![CDATA[<p>@Filip &#8211; please provide some code as an example!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filip</title>
		<link>/2010/06/11/friday-algorithms-quicksort-difference-between-php-and-javascript/comment-page-1/#comment-16688</link>
		<dc:creator><![CDATA[Filip]]></dc:creator>
		<pubDate>Mon, 01 Oct 2012 15:07:49 +0000</pubDate>
		<guid isPermaLink="false">/?p=1602#comment-16688</guid>
		<description><![CDATA[Hi, I have to make javascript quick sort animation but I have some troubles. Please... don&#039;t you know, how to make it possible? Because of undefined statement I&#039;m quite disoriented.]]></description>
		<content:encoded><![CDATA[<p>Hi, I have to make javascript quick sort animation but I have some troubles. Please&#8230; don&#8217;t you know, how to make it possible? Because of undefined statement I&#8217;m quite disoriented.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
