<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -147,13 +147,9 @@ module ActionController #:nodoc:
       def self.generate_method_for_mime(mime)
         sym = mime.is_a?(Symbol) ? mime : mime.to_sym
         const = sym.to_s.upcase
-        class_eval &lt;&lt;-RUBY
+        class_eval &lt;&lt;-RUBY, __FILE__, __LINE__ + 1
           def #{sym}(&amp;block)                          # def html(&amp;block)
-            if Mime::SET.include?(Mime::#{const})     #   if Mime::Set.include?(Mime::HTML)
-              custom(Mime::#{const}, &amp;block)          #     custom(Mime::HTML, &amp;block)
-            else                                      #   else
-              super                                   #     super
-            end                                       #   end
+            custom(Mime::#{const}, &amp;block)            #   custom(Mime::HTML, &amp;block)
           end                                         # end
         RUBY
       end</diff>
      <filename>actionpack/lib/action_controller/mime_responds.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f4f8923cf0ef5bd31f9e98cecf4603d0c4bde296</id>
    </parent>
  </parents>
  <author>
    <name>Yehuda Katz</name>
    <login>wycats</login>
    <email>wycats@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/4f043a48381c142e308824e3b7e15435a61bbb53</url>
  <id>4f043a48381c142e308824e3b7e15435a61bbb53</id>
  <committed-date>2008-12-27T00:06:57-08:00</committed-date>
  <authored-date>2008-12-27T00:06:57-08:00</authored-date>
  <message>More optimizations on respond_to after a profile and benching:

App with simple respond_to:
  def index
    respond_to do |format|
      format.html
      format.xml
      format.json
    end
  end

On JRuby (after complete hotspot warmup) -- 8% improvement:
  550 requests per second after this commit
  510 requests per second with old method_missing technique

On MRI (8% improvement):
  430 requests per second after this commit
  400 requests per second with old method_missing technique</message>
  <tree>f994f692d15a0d743ad5c2d942e2944fe3ff9140</tree>
  <committer>
    <name>Yehuda Katz</name>
    <login>wycats</login>
    <email>wycats@gmail.com</email>
  </committer>
</commit>
