1. 05 12月, 2013 4 次提交
  2. 03 12月, 2013 1 次提交
  3. 16 5月, 2013 1 次提交
    • R
      Revert "Merge pull request #10600 from aditya-kapoor/code_refactor" · ed738f75
      Rafael Mendonça França 提交于
      This reverts commit 8ce3c1e5, reversing
      changes made to f93da579.
      
      Reason: It slow down the running time.
      
      require "diffbench"
      load 'output_safety.rb'
      
      N = 10000
      b = ActiveSupport::SafeBuffer.new("hello world")
      DiffBench.bm do
        report "capitalize in safe buffer" do
          N.times do
            b.capitalize
          end
        end
      end
      
      > git checkout  069ea45c; diffbench bench.rb;
      diffbench bench.rb;diffbench
      bench.rb;diffbench bench.rb;diffbench
      bench.rb;diffbench bench.rb;diffbench
      bench.rb;
      
      Running benchmark with current working tree
      Checkout HEAD^
      Running benchmark with HEAD^
      Checkout to previous HEAD again
      
                          user     system      total
                          real
      ----------------------------------capitalize
      in safe buffer
      After patch:    0.010000   0.000000   0.010000
      (  0.009733)
      Before patch:   0.010000   0.000000   0.010000
      (  0.007702)
      Improvement: -26%
      
      Running benchmark with current working tree
      Checkout HEAD^
      Running benchmark with HEAD^
      Checkout to previous HEAD again
      
                          user     system      total
                          real
      ----------------------------------capitalize
      in safe buffer
      After patch:    0.010000   0.000000   0.010000
      (  0.009768)
      Before patch:   0.010000   0.000000   0.010000
      (  0.007896)
      Improvement: -24%
      
      Running benchmark with current working tree
      Checkout HEAD^
      Running benchmark with HEAD^
      Checkout to previous HEAD again
      
                          user     system      total
                          real
      ----------------------------------capitalize
      in safe buffer
      After patch:    0.010000   0.000000   0.010000
      (  0.009938)
      Before patch:   0.010000   0.000000   0.010000
      (  0.007768)
      Improvement: -28%
      
      Running benchmark with current working tree
      Checkout HEAD^
      Running benchmark with HEAD^
      Checkout to previous HEAD again
      
                          user     system      total
                          real
      ----------------------------------capitalize
      in safe buffer
      After patch:    0.010000   0.000000   0.010000
      (  0.010001)
      Before patch:   0.010000   0.000000   0.010000
      (  0.007873)
      Improvement: -27%
      
      Running benchmark with current working tree
      Checkout HEAD^
      Running benchmark with HEAD^
      Checkout to previous HEAD again
      
                          user     system      total
                          real
      ----------------------------------capitalize
      in safe buffer
      After patch:    0.010000   0.000000   0.010000
      (  0.009670)
      Before patch:   0.010000   0.000000   0.010000
      (  0.007800)
      Improvement: -24%
      
      Running benchmark with current working tree
      Checkout HEAD^
      Running benchmark with HEAD^
      Checkout to previous HEAD again
      
                          user     system      total
                          real
      ----------------------------------capitalize
      in safe buffer
      After patch:    0.010000   0.000000   0.010000
      (  0.009949)
      Before patch:   0.010000   0.000000   0.010000
      (  0.007752)
      Improvement: -28%
      ed738f75
  4. 14 5月, 2013 2 次提交
  5. 05 3月, 2013 1 次提交
  6. 13 9月, 2012 1 次提交
  7. 09 9月, 2012 1 次提交
  8. 01 8月, 2012 1 次提交
  9. 24 5月, 2012 1 次提交
    • V
      Revert "Remove blank trailing comments" · 1ad0b378
      Vijay Dev 提交于
      This reverts commit fa6d921e.
      
      Reason: Not a fan of such massive changes. We usually close such changes
      if made to Rails master as a pull request. Following the same principle
      here and reverting.
      
      [ci skip]
      1ad0b378
  10. 20 5月, 2012 1 次提交
    • H
      Remove blank trailing comments · fa6d921e
      Henrik Hodne 提交于
      For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace
      with the first match, and voilà! Note that the regex matches a little bit too
      much, so you probably want to `git add -i .` and go through every single diff
      to check if it actually should be changed.
      fa6d921e
  11. 18 5月, 2012 1 次提交
  12. 17 5月, 2012 1 次提交
  13. 12 5月, 2012 1 次提交
  14. 29 4月, 2012 2 次提交
  15. 02 3月, 2012 1 次提交
  16. 01 3月, 2012 1 次提交
  17. 21 2月, 2012 2 次提交
  18. 02 2月, 2012 1 次提交
  19. 01 2月, 2012 2 次提交
  20. 05 1月, 2012 2 次提交
  21. 21 12月, 2011 1 次提交
  22. 12 12月, 2011 2 次提交
  23. 03 12月, 2011 1 次提交
  24. 09 11月, 2011 1 次提交
  25. 05 10月, 2011 2 次提交
  26. 25 9月, 2011 1 次提交
  27. 22 9月, 2011 1 次提交
  28. 17 9月, 2011 1 次提交
  29. 09 9月, 2011 2 次提交