<?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: jQuery Profile Plugin</title>
	<atom:link href="http://osteele.com/archives/2008/05/jquery-profile-plugin/feed" rel="self" type="application/rss+xml" />
	<link>http://osteele.com/archives/2008/05/jquery-profile-plugin</link>
	<description>Languages of the real and artificial.</description>
	<lastBuildDate>Thu, 12 Feb 2009 00:20:28 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve Goodwin</title>
		<link>http://osteele.com/archives/2008/05/jquery-profile-plugin/comment-page-1#comment-456</link>
		<dc:creator>Steve Goodwin</dc:creator>
		<pubDate>Tue, 03 Jun 2008 06:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://osteele.com/2008/05/01/jquery-profile-plugin#comment-456</guid>
		<description>My initialisation code (essentially setting up various event handlers in jQuery) was taking far too long.  After profiling my code (manually, not using the plugin you mentioned) it occurred to me that I was being too lazy with some of my selectors. So replacing ...

// Slow.
$(&#039;.class&#039;).click(somefunction);

... with ....

// Speedy. JQuery probably uses getElementsByTagName to speed up.
$(&#039;div.class&#039;).click(somefunction);

... made a drastic improvement in performance.</description>
		<content:encoded><![CDATA[<p>My initialisation code (essentially setting up various event handlers in jQuery) was taking far too long.  After profiling my code (manually, not using the plugin you mentioned) it occurred to me that I was being too lazy with some of my selectors. So replacing &#8230;</p>
<p>// Slow.<br />
$(&#8217;.class&#8217;).click(somefunction);</p>
<p>&#8230; with &#8230;.</p>
<p>// Speedy. JQuery probably uses getElementsByTagName to speed up.<br />
$(&#8217;div.class&#8217;).click(somefunction);</p>
<p>&#8230; made a drastic improvement in performance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
