<?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: Hacking Apache HTTP Server at Yahoo!</title>
	<atom:link href="http://adamstiles.com/2006/01/hacking-apache-http-server-at-yahoo/feed/" rel="self" type="application/rss+xml" />
	<link>http://adamstiles.com/2006/01/hacking-apache-http-server-at-yahoo/</link>
	<description>Recedite, plebes! Gero rem imperialem.</description>
	<pubDate>Sat, 22 Nov 2008 11:14:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Eric H. Jung</title>
		<link>http://adamstiles.com/2006/01/hacking-apache-http-server-at-yahoo/#comment-352</link>
		<dc:creator>Eric H. Jung</dc:creator>
		<pubDate>Tue, 07 Feb 2006 16:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://adamstiles.com/2006/01/hacking-apache-http-server-at-yahoo/#comment-352</guid>
		<description>I find it interesting that he writes in the summary (slide 55): "Every CPU cycle counts" but then shows code like that on slide 41. It's more efficient to write:

static int yahoo_hostname_handler(request_rec *r) {
  if (r-&#62;method_number == M_GET) {
    r-&#62;content_type = " text/plain";
    …
    ...
  }
  return HTTP_NOT_IMPLEMENTED;
}

instead of checking that r-&#62;method_number != M_GET for each and every request (unless compiler optimizations render them equivalent)</description>
		<content:encoded><![CDATA[<p>I find it interesting that he writes in the summary (slide 55): &#8220;Every CPU cycle counts&#8221; but then shows code like that on slide 41. It&#8217;s more efficient to write:</p>
<p>static int yahoo_hostname_handler(request_rec *r) {<br />
  if (r-&gt;method_number == M_GET) {<br />
    r-&gt;content_type = &#8221; text/plain&#8221;;<br />
    …<br />
    &#8230;<br />
  }<br />
  return HTTP_NOT_IMPLEMENTED;<br />
}</p>
<p>instead of checking that r-&gt;method_number != M_GET for each and every request (unless compiler optimizations render them equivalent)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ana aman</title>
		<link>http://adamstiles.com/2006/01/hacking-apache-http-server-at-yahoo/#comment-346</link>
		<dc:creator>ana aman</dc:creator>
		<pubDate>Tue, 31 Jan 2006 21:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://adamstiles.com/2006/01/hacking-apache-http-server-at-yahoo/#comment-346</guid>
		<description>Yahoo is running a modified version of apache.</description>
		<content:encoded><![CDATA[<p>Yahoo is running a modified version of apache.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
